markdown-link-check
markdown-link-check copied to clipboard
Anchor link check breaks when target heading comes before the link
Thank you for the recent improvements on anchor link checks. We noticed that the anchor link check will still return incorrect result and report dead link when the heading that is targeted comes before the anchor link in the document. When the anchor link is above the heading, it passes as expected.
Working sample
Here is an [anchor link](#heading-link-below) sample that passes, as expected.
### Heading link below
Broken sample
### Heading link above
Here is an [anchor link](#heading-link-above) sample that reports as a dead link.