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:
Chris Prener’s biscale R package documentation (source code– Markdown)
Everest Pipkin’s image scrubber (source code– HTML)
Brent Pearson’s STAT 490 final project (source code in a private repo)
Kurtis Pykes portfolio page (source code– Markdown)
Cassandra Hamilton portfolio page (source code– Markdown)
Jonathan Soma’s data studio projects page (meta!) (source code– HTML/Markdown)
Laura Kukkonen’s homepage (source code– HTML) and ASMR project (source code— HTML)
Radhika Rukmangadhan’s homepage (source code– HTML) and rainy weekends project (source code– HTML)
Miriam Posner’s students also make project pages, also mostly in HTML
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
orgithub.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.