mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #608] Support allowlist option for MD040 #480
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#480
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 @chenxsan on GitHub (Oct 16, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/608
While MD040 requires us to specify a language, it doesn't specify which languages we can use, which means we can use whatever we want as long as it's not an empty one.
But in the cases of syntax highlighting, tools like refractor will throw an error when we feed it an unknown language. It would be great if we can configure MD040 with an
allowlist.E.g.,