mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #1482] Dollar signs confuse the linter with links #696
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#696
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 @mtlynch on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1482
I ran into a strange issue where dollar signs seem to confuse the linter into thinking a bare URL exists when it's actually a link:
@DavidAnson commented on GitHub (Feb 6, 2025):
The rendering of this in the demo app indicates it is being purchased as a math expression and so the message is correct. You can backlash escape the first $ to avoid this.
https://dlaa.me/markdownlint/#%25m%23%20Test%0A%0A%244%20is%20more%20than%20%5B%241%5D(https%3A%2F%2Fexample.com).%0A
@mtlynch commented on GitHub (Feb 6, 2025):
Ah, I see. Thanks for the clarification!