mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #213] Proposal: Detect names in inline-links #183
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lorenzleutgeb on GitHub (Aug 19, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/213
Suppose I want to reference/link something by name, but am doing it wrong, because I forget that I should use
[/]braces instead of(/)braces:Where the correct version is:
and the diff between wrong and correct version is
Markdownlint should index all names of references, and then, for all inline links, check that they are not referring to a name. In the above case I would like to see a warning along the lines of:
Somewhat related to other link-sanitizing proposals, like #144