The issue happens when the heading follows fenced code block where the closing back-ticks are indented more than the opening of the code block and the next section contains a properly formatted fence block.
I'm not sure if this is valid markdown or not. If it is invalid a parsing error would be nice.
Repro:
test.md
$ markdown-link-check --version
3.13.7
$ markdown-link-check test.md
FILE: test.md
[✓] #working-anchor
[✖] #broken-anchor
2 links checked.
ERROR: 1 dead links found!
[✖] #broken-anchor → Status: 404
The issue happens when the heading follows fenced code block where the closing back-ticks are indented more than the opening of the code block and the next section contains a properly formatted fence block.
I'm not sure if this is valid markdown or not. If it is invalid a parsing error would be nice.
Repro:
test.md