mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
20 lines
342 B
Markdown
20 lines
342 B
Markdown
|
|
This rule is triggered when spaces are missing after the hash characters
|
||
|
|
in an atx style heading:
|
||
|
|
|
||
|
|
```markdown
|
||
|
|
#Heading 1
|
||
|
|
|
||
|
|
##Heading 2
|
||
|
|
```
|
||
|
|
|
||
|
|
To fix this, separate the heading text from the hash character by a single
|
||
|
|
space:
|
||
|
|
|
||
|
|
```markdown
|
||
|
|
# Heading 1
|
||
|
|
|
||
|
|
## Heading 2
|
||
|
|
```
|
||
|
|
|
||
|
|
Rationale: Violations of this rule can lead to improperly rendered content.
|