mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Reimplement MD051/link-fragments using micromark tokens, report reference link issues for definition and fix when possible, handle reporting multiple violations on the same line better.
This commit is contained in:
parent
dd73b0ad7f
commit
ef1bd286a9
14 changed files with 458 additions and 346 deletions
|
|
@ -34,8 +34,8 @@ letters, numbers, `-`, and `_`):
|
|||
[Link](#custom-name)
|
||||
```
|
||||
|
||||
Alternatively, an HTML `a` tag with an `id` or a `name` attribute can be used to
|
||||
define a fragment:
|
||||
Alternatively, any HTML tag with an `id` attribute or an `a` tag with a `name`
|
||||
attribute can be used to define a fragment:
|
||||
|
||||
```markdown
|
||||
<a id="bookmark"></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue