[GH-ISSUE #1475] Emit a warning for duplicate link labels that differ #2539

Open
opened 2026-03-07 20:08:43 +03:00 by kerem · 0 comments
Owner

Originally created by @fowles on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1475

I have a setup where I am concatenating several different .md files for reasons. I want to be able to use link labels in each of the sub things and then have the linter warn me if any of the duplicate labels have different URL targets but otherwise accept that duplicates are OK.

https://github.com/DavidAnson/markdownlint/blob/main/doc/md053.md is related but slightly too strict.

Originally created by @fowles on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1475 I have a setup where I am concatenating several different .md files for reasons. I want to be able to use link labels in each of the sub things and then have the linter warn me if any of the duplicate labels have different URL targets but otherwise accept that duplicates are OK. https://github.com/DavidAnson/markdownlint/blob/main/doc/md053.md is related but slightly too strict.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2539
No description provided.