Skip to content

no-emphasis-as-heading

Markdownstyleno fixdefault: offmarkdown/markdownlint

Reports a paragraph of one line that is only emphasized text (**Overview**) with no closing punctuation, outside a heading.

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.

Reported
**Overview**
*Notes*
**A sentence.**
...
markdown:
lint:
rules:
no-emphasis-as-heading: warn # off (default), warn, error

Enabled 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.

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.