mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-20 16:00:13 +01:00
Update MD051/link-fragments to support indexing of repated headings.
This commit is contained in:
parent
8c5f28c2f0
commit
152720f00e
3 changed files with 36 additions and 7 deletions
|
|
@ -26,6 +26,12 @@
|
|||
|
||||
[Valid](#valid-setext-heading)
|
||||
|
||||
[Valid](#valid-repeated-heading)
|
||||
|
||||
[Valid](#valid-repeated-heading-1)
|
||||
|
||||
[Valid](#valid-repeated-heading-2)
|
||||
|
||||
[Valid](#namedlink)
|
||||
|
||||
[Valid](#idlink)
|
||||
|
|
@ -77,6 +83,16 @@ Valid Setext Heading
|
|||
|
||||
Text
|
||||
|
||||
### Valid Repeated Heading
|
||||
|
||||
Text
|
||||
|
||||
### Valid Repeated Heading
|
||||
|
||||
Text
|
||||
|
||||
### Valid Repeated Heading
|
||||
|
||||
<a name="namedlink"></a>
|
||||
|
||||
<a id = idlink></a>
|
||||
|
|
@ -89,7 +105,9 @@ Text
|
|||
|
||||
## Invalid Fragments
|
||||
|
||||
[Inalid](#valid-heading-2004-) {MD051}
|
||||
[Invalid](#valid-heading-2004-) {MD051}
|
||||
|
||||
[Invalid](#valid-repeated-heading-3) {MD051}
|
||||
|
||||
[Invalid](#invalid-fragment) {MD051}
|
||||
|
||||
|
|
@ -104,5 +122,6 @@ Text
|
|||
<!-- markdownlint-configure-file {
|
||||
"emphasis-style": false,
|
||||
"heading-style": false,
|
||||
"no-duplicate-heading": false,
|
||||
"no-inline-html": false
|
||||
} -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue