David Anson
941769f204
Update MD051/link-fragments to handle backslash-escaping in heading text ( fixes #984 ).
2023-09-18 22:20:44 -07:00
David Anson
ba260b9b1e
Update MD051/link-fragments to handle backslash-escaped content in link and definition destinations ( fixes #956 ).
2023-09-06 21:25:00 -07:00
David Anson
1ddee6b195
Update MD051/link-fragments to also look for a fragment matching the URI-encoded link definition (implicit behavior in previous version via markdown-it) ( fixes #954 , fixes #955 ).
2023-09-06 20:50:56 -07:00
David Anson
a736588958
Update MD051/link-fragments to handle links and images in headings ( fixes #945 ).
2023-09-04 12:26:38 -07:00
David Anson
24c97a54fb
Refactor micromark token handling to remove optional Token.htmlFlowChildren property and make related code more efficient for a ~6% elapsed time reduction.
2023-09-02 19:32:25 -07:00
David Anson
1eb40d3c4c
Update MD051/link-fragments to not provide error context for multi-line scenarios.
2023-08-04 21:23:43 -07:00
David Anson
ef1bd286a9
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.
2023-08-04 20:53:38 -07:00
David Anson
7a794192ca
Add support for named heading fragments as supported by some platforms ( fixes #830 ).
2023-07-08 22:14:00 -07:00
David Anson
ac8f495ea2
Update MD051/link-fragments to identify and fix scenarios where the link fragment has the wrong case ( fixes #605 ).
2022-12-16 13:50:38 -08:00
Mark Lodato
6c8ef48f94
Update MD051/link-fragments to support id
attributes on non-a
elements ( fixes #538 ).
...
The `name` is only an anchor on `a` elements, but `id` is a universal
attribute on all elements.
Also fix match on id/name to be complete, not just a suffix.
2022-07-27 21:42:05 -07:00
David Anson
1bd748f79e
Update MD051/link-fragments to ignore HTML comments embedded in heading text.
2022-07-19 06:29:52 +00:00
David Anson
152720f00e
Update MD051/link-fragments to support indexing of repated headings.
2022-04-21 21:02:46 -07:00
David Anson
8c5f28c2f0
Refactor MD051/link-fragments slightly to reduce dependencies.
2022-04-20 21:27:21 -07:00
David Anson
9a5e7e42ef
Update MD051/link-fragments to use the same character classes as GitHub, encode unprintable characters from emojii.
2022-04-18 20:59:01 -07:00
David Anson
db5d9f6dbb
Update previous commit for MD051/link-fragments to rename, refactor, add support for HTML anchors, and validate against
...
markdown-link-check (fixes #253 ).
2022-04-16 14:08:56 -07:00
Divlo
33ee1cd85e
Initial implementation of MD051/valid-link-fragments (refs #253 , closes #495 ).
2022-04-16 14:08:56 -07:00