mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-13 14:45:52 +00:00
updates
This commit is contained in:
parent
4e3cb2a017
commit
0c4af84481
6 changed files with 70 additions and 13 deletions
|
|
@ -1,16 +1,24 @@
|
|||
# Exercise 6: Add your first content (File Structure)
|
||||
# Exercise 6: File Structure (Markdown)
|
||||
|
||||
Now that you've made your own version of the book, it's time to add some content.
|
||||
In this exercise you will add the structure to your chapters.
|
||||
|
||||
```{tip}
|
||||
|
||||
More useful Markdown syntax is explained in the [MyST cheat sheet](https://jupyterbook.org/en/stable/reference/cheatsheet.html).
|
||||
|
||||
```
|
||||
|
||||
1. 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.
|
||||
|
||||
2. 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)
|
||||
# Chapter Title
|
||||
## Section Title
|
||||
### Subsection Title
|
||||
#### Smaller Heading
|
||||
##### Heading level 5
|
||||
###### Heading level 6
|
||||
```
|
||||
|
||||
3. Add some text to the sections.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue