first-heading
New Since v0.1.0
Linter: a document starts with a top-level heading, after any front matter and HTML.
Example#
doc.md:
Some notes.
# Guidemarkright check reports:
doc.md:1: document does not start with a top-level heading (first-heading)
markright: 1 issue(s)Fixed:
# Guide
Some notes.Turning it off#
linters:
disable: [first-heading][linters]
disable = ["first-heading"]More in Rules.