Skip to content

Markdown-link-check is now unusable with autogenerated tables of contents #4079

@chris-grabcad

Description

@chris-grabcad

Describe the bug
A clear and concise description of what the bug is.

This is a bug in 3.12.x of markdown-link-check which falesly markes autogenated
TOC links as unreachable, for example this piece of markdown will be flagged by
markdown-link-check v 3.12.x, but not by 3.11.x

[migrating from <= v1.18.0](#migrating-from--v1180)

### Migrating from `<= v1.18.0`

This is copied directly from tcort/markdown-link-check#358

Expected behavior
Mega linter should produce consistent, noiseless and silencable errors.

Additional context
Downgrading markdown-link-check to v 3.11.x would be a workaround, but we cannot control the versions
of linters in megalinter :-(.

We could try using an earlier version of megalinter, but I believe that a different linter gives issues with
our repo under those circumstances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O: stale 🤖This issue or pull request is stale, it will be closed if there is no activitybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions