heading-increment
New Since v0.1.0
Linter: a heading is at most one level deeper than the heading before it.
Example#
doc.md:
# Guide
### Installmarkright check reports:
doc.md:3: heading level jumps from 1 to 3 (heading-increment)
markright: 1 issue(s)Fixed:
# Guide
## InstallTurning it off#
linters:
disable: [heading-increment][linters]
disable = ["heading-increment"]More in Rules.