Headings in Markdown

From the Markdown cheat sheet ยท Headings and Paragraphs ยท verified Aug 2026

Headings

Create ATX or Setext headings.

markdown
# Heading 1
## Heading 2
### Heading 3
๐Ÿ“Œ Add a space after each # marker
๐Ÿ’ก Use one level-one heading per document
๐Ÿ” Setext syntax supports only levels one and two
๐ŸŽฏ Do not skip heading levels for visual sizing
headingsstructureatxsetext

Continue with Markdown

Save the full cheat sheet or work through every related task.

More Markdown tasks

Back to the full Markdown cheat sheet