Unlike the GitHub profile README feature, GitHub Pages does not convert markdown into HTML by default, which is why you see the raw markdown in your browser. This is the raw content of the README.md file, hosted on GitHub Pages. To test that everything is working, point your browser to. Right now, your GitHub Pages site is hosted at, but your repo only contains a single README.md file.
#GITHUB WIKI TAB CODE#
Go back to your repo’s homepage (the Code tab). If you wanted to turn a different repo into a GitHub Pages site, this is where you’d do that!īut if you’re working from a YOUR_ repo, you don’t have to change any settings. Next, go to the Settings tab of your repo and scroll down to the GitHub Pages section.Ĭreating a repo named YOUR_ automatically activates the GitHub Pages feature and enables these settings. When you create your repo, check the Add a README file box.Ĭlick the Create repository button to create your repo! (There’s a third type of GitHub Pages repository called an organization site, but you probably don’t need that right now.)įor now, create a user site GitHub Pages repository by creating a repo named YOUR_. Go to the Settings tab of your repo and enable GitHub Pages for the main branch (or any branch you want).Create a branch in that repo named gh-pages.To create a project site GitHub Pages repository, create a repo with any name, and then either: Project sites are hosted at and are used for documentation related to a specific repo, or standalone pages. To create a user site GitHub Pages repository, create a repo named YOUR_. User sites are hosted at and are used for things like personal homepages, portfolio pages, and other sites associated with you as a user. There are two different types of GitHub Pages repositories: If not, go do that now and then come back! Create a Repository I’m assuming you’ve already worked through the GitHub profile README tutorial and that you’ve created your first GitHub repository and practiced some HTML with your GitHub profile README. This tutorial walks you through the process of creating a GitHub Pages site! In other words, you can use a GitHub repository to host your HTML, CSS, and JavaScript files. GitHub Pages lets you take a GitHub repository and turn it into a webpage. It’s a little bit like social media for coders, and it’s a great way to show off your code and to see what other folks are working on. GitHub is a website that lets you post your code so you can keep it organized and share it with other people. GitHub Profile README Next: Jekyll GitHub Pages tutorial html github-pages