mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #68] Add rule(s) to enforce certain link rules #55
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#55
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 @braebot on GitHub (Jul 22, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/68
Add rules to detect and error when found:
httplinks,../path,path. Only allow absolute links, such as/path.Note: this is similar to those that would be found when crawling a site. However, it is best when caught earlier in the process with markdownlint.
@DavidAnson commented on GitHub (Jul 22, 2017):
Based on your scenarios, a single rule that runs a user-configurable RegExp against the link destination seems sufficient.
@braebot commented on GitHub (Jul 22, 2017):
Yes, that would be sufficient!
@sanmai-NL commented on GitHub (Nov 20, 2020):
Another use case: https://github.com/webhintio/hint/issues/4137.