markdownlint/doc/MD023.md

20 lines
462 B
Markdown
Raw Normal View History

# 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.