markdownlint/doc/MD024.md
2017-04-06 08:38:46 +02:00

489 B

MD024 - Multiple headers with the same content

Tags: headers

Aliases: no-duplicate-header

This rule is triggered if there are multiple headers in the document that have the same text:

# Some text

## Some text

To fix this, ensure that the content of each header is different:

# Some text

## Some more text

Rationale: Some markdown parses generate anchors for headers based on the header name, and having headers with the same content can cause problems with this.