mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #1418] Disable link checking for GitHub Alerts #2528
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#2528
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 @gabeseltzer on GitHub (Nov 15, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1418
GitHub uses the following syntax for "Alerts":
markdownlint will flag the
[!NOTE]as a link, and will tell youNo link definition found: '!NOTE'(link.no-such-reference). Can we turn this off for the keywords that make up alerts? Specifically:[!NOTE][!TIP][!IMPORTANT][!WARNING][!CAUTION]@DavidAnson commented on GitHub (Nov 16, 2024):
The error error message you show above is not coming from this tool. You can see that your example produces no violations: https://dlaa.me/markdownlint/#%25m%23%20Issue%201418%0A%0A%3E%20%5B!NOTE%5D%0A%3E%20Useful%20information%0A
It looks like the message you show is coming from VS Code instead: https://stackoverflow.com/questions/75252767/have-vscode-ignore-specific-reference-links-in-markdown-validation
@gabeseltzer commented on GitHub (Nov 19, 2024):
Ah, thanks and sorry for the trouble! For those wondering, it looks like there's a follow-on ticket for VSCode here: https://github.com/microsoft/vscode-markdown-languageservice/issues/152