mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #1126] MD013: can I set blockquote line length? #616
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#616
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 @misogihagi on GitHub (Feb 8, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1126
I know I can set code block lines in MD013, but how do I set the length of the block quote lines?
I get the following error in markdownlint, but I want to ignore it.
@DavidAnson commented on GitHub (Feb 8, 2024):
There is no exception for block quotes because they are generally wrappable. Your example seems easily wrapped, but maybe your real scenario is not. If so, you can use one of the inline comments to disable the rule for that line or that file or you can use a configuration file to disable it for the entire project.
@misogihagi commented on GitHub (Feb 16, 2024):
Oh, sorry.
I just wondered why you can specify a maximum length in the code block options, but not the block quot.
For example, here's a markdown file.
Line 3 gives me an error, but line 6 doesn't.
It looks unnatural.
Also, my configuration is:
@DavidAnson commented on GitHub (Feb 16, 2024):
I answered above: https://github.com/DavidAnson/markdownlint/issues/1126#issuecomment-1933378301
@misogihagi commented on GitHub (Feb 26, 2024):
So we cannot set blockquote line length?
@DavidAnson commented on GitHub (Feb 26, 2024):
Right, there is no exception for block quotes.