MDS013: blank-line-around-headings
Headings must have a blank line before and after.
# Config
Enable:
rules:
blank-line-around-headings: trueDisable:
rules:
blank-line-around-headings: false# Examples
# Bad
# Title
## Section
Content here.# Good
# Title
## Section
Content here.# Diagnostics
| Message | Condition |
|---|---|
heading should have a blank line before | Previous line is not blank |
heading should have a blank line after | Next line after heading is not blank |
# Meta-Information
- ID: MDS013
- Name:
blank-line-around-headings - Status: ready
- Default: enabled
- Fixable: yes
- Implementation: source
- Category: heading
- markdownlint: MD022 (blanks-around-headings)
- rumdl: MD022 (blanks-around-headings)
- mado: MD022 (blanks-around-headings)
- obsidian-linter: heading-blank-lines
- gomarklint: blanks-around-headings