mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-30 02:45:15 +01:00
19 lines
352 B
Markdown
19 lines
352 B
Markdown
|
|
# MD018 - No space after hash on atx style header
|
||
|
|
|
||
|
|
Tags: headers, atx, spaces
|
||
|
|
|
||
|
|
Aliases: no-missing-space-atx
|
||
|
|
|
||
|
|
This rule is triggered when spaces are missing after the hash characters
|
||
|
|
in an atx style header:
|
||
|
|
|
||
|
|
#Header 1
|
||
|
|
|
||
|
|
##Header 2
|
||
|
|
|
||
|
|
To fix this, separate the header text from the hash character by a single
|
||
|
|
space:
|
||
|
|
|
||
|
|
# Header 1
|
||
|
|
|
||
|
|
## Header 2
|