Headings
Headings create the structure of your document. Use the # symbol followed by a space to create headings.
Syntax
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Rules to Remember
- Always put a space after the
#symbol - Use only one H1 per document (it's your title)
- Don't skip heading levels (go H1 → H2 → H3, not H1 → H3)
- Headings help with accessibility and SEO
Alternative Syntax
For H1 and H2, you can also use underline style:
Heading 1
=========
Heading 2
---------
💡 The
#style is more common and recommended.
Best Practices
- Use headings to create a clear document outline
- Keep heading text concise and descriptive
- Think of headings like a table of contents