This page showcases the look of different header levels.
In Markdown, you make a header by prefacing the section title with
a number of #
symbols, up to a maximum of six (for <h6>
).
Using headers to delineate content sections has some advantages:
- Headers will automatically have a slugified
id
added, to facilitate linking to particular sections using anchors. - A table of contents (in the right sidebar by default) will be automatically generated according to the declared headers—as long as there are at least two level 1 or 2 headers.
h1 headers
Invoke header level 1 by writing:
# Lorem
h2 headers
Invoke header level 2 by writing:
## Ipsum
h3 headers
Invoke header level 3 by writing:
### Flotsam and Jetsam
h4 headers
Invoke header level 4 by writing:
#### Wingardium Leviosa
h5 headers
Invoke header level 5 by writing:
##### Adamantium
h6 headers
Invoke header level 6 by writing:
###### Plotdevicium