mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 09:46:01 +03:00
[GH-ISSUE #960] MD051: False-positive if the header begins with -- #2417
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#2417
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 @mrazauskas on GitHub (Sep 8, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/960
The following:
Gets reported as: MD051/link-fragments: Link fragments should be valid
Did I miss something? (;
Playground link: https://dlaa.me/markdownlint/#%25m%23%20Docs%0A%0A%23%23%20%60--config%60%0A%0AThe%20path%20to%20a%20configuration%20file.%0A%0ASee%20%5B%60--config%60%5D(%23config)%0A
@DavidAnson commented on GitHub (Sep 8, 2023):
GitHub rules translate that heading into: #--config
If you update your demonstration to use that, no warning is produced.
@mrazauskas commented on GitHub (Sep 9, 2023):
Thanks. Yes, your suggestion works as expected.
I was misguided by VS Code autocompletions: