MD018 - no-missing-space-atx¶
Description¶
This rule checks that ATX-style headings have a space between the hash characters (#) and the heading text. For example, # Heading is correct, but #Heading is not.
Rationale¶
Missing a space after the hash characters in an ATX-style heading can cause the heading to be improperly rendered. Some Markdown parsers require a space after the hash to recognize the line as a heading.
Examples¶
Invalid¶
#Heading 1
##Heading 2
###Heading 3
Valid¶
# Heading 1
## Heading 2
### Heading 3