Markdown
#markdown
#heading
#h1
#h2
Markdown Heading
Matches Markdown ATX-style headings — # through ###### followed by text. Captures both the level (number of #) and the heading text.
✓ Markdown parsers✓ Table of contents generators✓ Documentation tools
✓ Valid Examples
- # H1 Title
- ## Section Two
- ### Subsection
- ###### Smallest Heading
✗ Invalid Examples
- #NoSpace
- ####### Too many hashes
- Not a heading