markdown-link-check icon indicating copy to clipboard operation
markdown-link-check copied to clipboard

False Positives for Anchor Links to Section Headers Following Fenced Code Blocks

Open Kurt-von-Laven opened this issue 3 years ago • 2 comments

Section headers that follow an unordered list containing a fenced code block containing a comment are not detected as valid anchor link targets.

Kurt-von-Laven avatar Jul 02 '22 09:07 Kurt-von-Laven

This issue was introduced in marked 4.0.17, most likely by markedjs/marked#2483, and can be fixed by pinning marked to 4.0.16. See markedjs/marked#2518 for more details and a reproduction.

Kurt-von-Laven avatar Jul 02 '22 09:07 Kurt-von-Laven

Now that the upstream issue has been fixed, this issue can be addressed by upgrading marked to 4.0.18+.

Kurt-von-Laven avatar Jul 12 '22 05:07 Kurt-von-Laven

should be fixed in latest release. if not, please re-open.

tcort avatar Sep 21 '22 09:09 tcort