single-title
What it does
Section titled “What it does”Reports a second or later top-level heading (# Title) in a document.
Why it matters
Section titled “Why it matters”A document has one title: the top-level heading is what tools use as the page title, so a second one makes the title ambiguous, and the outline then has several roots.
To fix, make the later headings second-level, or split the document.
Example
Section titled “Example”...
## Sub
# Two
Three=====Configuration
Section titled “Configuration”markdown: lint: rules: single-title: warn # off (default), warn, errorEnabled by the presets: markdown/markdownlint.
Suppress one line with sudsy-disable-next-line single-title in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools. full: Sudsy reports what the upstream rule reports; partial: only part of it, as the last column says.
| Tool | Rule | Match | What differs |
|---|---|---|---|
| markdownlint | MD025 |
partial | No level option, and a title: in the front matter does not count as a title. |