GitHub source code sharing

Wechat search: code nong StayUp

Home address: goZhuyinglong.github. IO

Source: github.com/gozhuyinglo…

1. Create a code repository

Log on to GitHub, click the + button in the upper right corner, and select New Repository to open the Create New Repository page.

Create a repository called username.github. IO where username is your Github account name. Note: This will not work if username does not match your account name

In the image below, the prompt exists because my repository goZhuyingLong.github. IO is already in use.

2. Select a theme

Enter the created repository, click Settings to enter the Settings interface.

Page down, find the GitHub Pages module, click [Choose a Theme], enter the select a theme page.

GitHub provides a few themes to choose from. Click Select Theme to finish

3. Set the page content

After selecting the theme, two files will be generated:

  • _config.ymlFor the selected topic
  • index.mdIs the page content

Index. md is a Markdown file. You can modify the page content by editing the content.

4. Customize the page

GitHub also supports custom pages, such as uploading your own index.html page.

5. Page url

The url is your repository name: username.github. IO

The final result can be found on my homepage: goZhuyinglong.github. IO

6. The official website

GitHub Pages: pages.github.com