Closed AxelBrinck closed 2 months ago
Per the documentation, MD051 uses the GitHub heading algorithm as the canonical form for headings:
https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md
As you can confirm via GitHub, the GitHub representation for the link you show is this:
#arrow_left-username-created
Using that in Markdown produces no violations from MD051, so I claim the rule is behaving correctly:
Ah, yes, this works! Thanks a lot for helping! 😸
Hi there! 👋🏻
Thanks for the work on this great repository.
Link fragments to sections works fine, until the section has an emoji :crying_cat_face:
The following link:
Redirects to the following section:
But at the same time shows warning: MD051.
The warning disappears if the emoji and the "-" symbol prefixing the link is removed.
I read that prefixing headers with an "-" in link fragments should allow to have an emoji.
Can this be reviewed?
Thanks!