mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-07 16:38:50 +01:00
20 lines
No EOL
462 B
Markdown
20 lines
No EOL
462 B
Markdown
# MD023 - Headers must start at the beginning of the line
|
|
|
|
Tags: headers, spaces
|
|
|
|
Aliases: header-start-left
|
|
|
|
This rule is triggered when a header is indented by one or more spaces:
|
|
|
|
Some text
|
|
|
|
# Indented header
|
|
|
|
To fix this, ensure that all headers start at the beginning of the line:
|
|
|
|
Some text
|
|
|
|
# Header
|
|
|
|
Rationale: Headers that don't start at the beginning of the line will not be
|
|
parsed as headers, and will instead appear as regular text. |