Markdown and GitHub pages

A free way to host a website that requires only a small amount of coding is GitHub pages. In order to use GitHub, you need an account (free!) and people can register for an account with more features based on their educator/student status.

I showed some examples of sites built using GitHub pages:

Feel free to look through these examples for ideas and inspiration. It’s also okay to “fork” (copy) the repo so you have something to start with, although be sure to check for any licensing.

Try it out

  • Make a GitHub account. Jenny Bryan has suggestions on choosing a username. My GitHub username is AmeliaMN (a reference to my home state and last name, McNamara). I use AmeliaMN across all social media, so it’s easy to find me. You may or may not want this!

  • Follow the instructions to create a GitHub page. There are two types:

    • User or organization site. This would be your homepage, like the ones Kurtis Pykes, Cassandra Hamilton, Laura Kukkonen and Radhika Rukmangadhan have. (Check the URLs of those sites– mostly githubusername.github.io or github.com/githubusername.)

    • Project site. This would be a page for a specific project, like the ones Chris Prener, Everest Pipkin, Brent Pearson, and others made. (Check the URLs of those sites– mostly githubusername.github.io/projectname.)

  • As the documentation says,

    • To make a user site: “Head over to GitHub and create a new public repository named username.github.io, where username is your username (or organization name) on GitHub.

      If the first part of the repository doesn’t exactly match your username, it won’t work, so make sure to get it right.”

    • “Head over to GitHub.com and create a new repository, or go to an existing one.”

  • “create a new repository” means to click on this green button

  • The instructions say you need a git client, but this isn’t really true. For a simple website, you can edit right on the web! To do this, click “creating a new file.”

In that document, you can write Markdown. Reference the slides or the Markdown complete reference.