MDS003: heading-increment
Heading levels should increment by one. No jumping from # to ###.
# Settings
| Setting | Type | Default | Description |
|---|---|---|---|
placeholders | list | [] | Placeholder tokens to treat as opaque; see placeholder grammar |
Useful tokens: heading-question, placeholder-section, var-token.
# Config
Enable:
rules:
heading-increment: trueDisable:
rules:
heading-increment: false# Examples
# Bad
# Title
### Subsection# Good
# Title
## Section
Body text.# See also
# Meta-Information
- ID: MDS003
- Name:
heading-increment - Status: ready
- Default: enabled
- Fixable: no
- Implementation: source
- Category: heading
- markdownlint: MD001 (heading-increment)
- rumdl: MD001 (heading-increment)
- mado: MD001 (heading-increment)
- panache: heading-hierarchy
- obsidian-linter: header-increment
- gomarklint: heading-level