1.3 KiB
Exercise 6: Add your first content (File Structure)
Now that you've made your own version of the book, it's time to add some content.
-
Navigate to the file you want to work in (for example
book/some_content/overview.md) and make sure you're in the correct branch. -
Let's create the structure of your chapter. You can start by adding a title to the section. The title is always defined in the first line of the file after the hashtag
#. Then yo can also add sections and subsections as needed.
# Chapter Title (H1)
## Section Title (H2)
### Subsection Title (H3)
#### Smaller Heading (H4)
-
Add some text to the sections.
-
When you are ready, commit your changes to the remote repository by clicking on the green
Commit changesbutton. -
Add a commit message.
-
To see you changes, go to {octicon}
play;1emActions- The most recent workflow runoverview.md / the commit message of the commit you just made- Wait for it to finish - In the summary, click on the link of your book shown in the tableBranches deployedand underPrimary book at root(getting bored of waiting? There'll be exercising on doing this locally which prevents you from waiting (user type 4)) -
Do you see your change? If you don't see it click
CTRL+F5/Control+F5to refresh the page.