no-emphasis-as-heading
What it does
Section titled “What it does”Reports a paragraph of one line that is only emphasized text (**Overview**) with no closing punctuation, outside a heading.
Why it matters
Section titled “Why it matters”Bold text is not a heading to tools: it is missing from the outline, from the table of contents and from the navigation of a screen reader, and it cannot be linked to. A short bold line that works as a title belongs in a heading.
To fix, use a heading (## Overview). Text that ends with punctuation (**Note.**) is a sentence and is not reported.
Example
Section titled “Example”**Overview**
*Notes*
**A sentence.**
...Configuration
Section titled “Configuration”markdown: lint: rules: no-emphasis-as-heading: warn # off (default), warn, errorEnabled by the presets: markdown/markdownlint.
Suppress one line with sudsy-disable-next-line no-emphasis-as-heading 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 | MD036 |
partial | No punctuation option. |