mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #389] [feature request] disable for next block #2173
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#2173
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 @CircleCode on GitHub (Apr 23, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/389
Say i want to enforce MD013 for all code blocks, except one (for example, I show raw script output, and I want it be unaltered)
I'd like to have something like
@CircleCode commented on GitHub (Apr 23, 2021):
after a more attentive reading, I was able to fulfill my needs with
However, i do not close this issue because I think a per block exception would make sense for readibility.
But if you consider this is too much work compared to the real benefit, feel free to close this request
@DavidAnson commented on GitHub (Apr 23, 2021):
I agree that would be a little more elegant, but it adds complexity and assumes people know what a block is (maybe less clear with text vs. code?). I'll keep this in the back of my mind, but for now will stick with the pattern you show above. Thanks for the suggestion, glad you figure this out!