mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update MD027/no-multiple-space-blockquote to add a list_items parameter (fixes #1473).
This commit is contained in:
parent
d02090db2c
commit
435c55f72a
14 changed files with 333 additions and 14 deletions
|
|
@ -943,6 +943,10 @@ Tags: `blockquote`, `indentation`, `whitespace`
|
|||
|
||||
Aliases: `no-multiple-space-blockquote`
|
||||
|
||||
Parameters:
|
||||
|
||||
- `list_items`: Include list items (`boolean`, default `true`)
|
||||
|
||||
Fixable: Some violations can be fixed by tooling
|
||||
|
||||
This rule is triggered when blockquotes have more than one space after the
|
||||
|
|
@ -960,6 +964,10 @@ To fix, remove any extraneous space:
|
|||
> indentation.
|
||||
```
|
||||
|
||||
Inferring intended list indentation within a blockquote can be challenging;
|
||||
setting the `list_items` parameter to `false` disables this rule for ordered
|
||||
and unordered list items.
|
||||
|
||||
Rationale: Consistent formatting makes it easier to understand a document.
|
||||
|
||||
<a name="md028"></a>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@ Tags: `blockquote`, `indentation`, `whitespace`
|
|||
|
||||
Aliases: `no-multiple-space-blockquote`
|
||||
|
||||
Parameters:
|
||||
|
||||
- `list_items`: Include list items (`boolean`, default `true`)
|
||||
|
||||
Fixable: Some violations can be fixed by tooling
|
||||
|
||||
This rule is triggered when blockquotes have more than one space after the
|
||||
|
|
@ -21,4 +25,8 @@ To fix, remove any extraneous space:
|
|||
> indentation.
|
||||
```
|
||||
|
||||
Inferring intended list indentation within a blockquote can be challenging;
|
||||
setting the `list_items` parameter to `false` disables this rule for ordered
|
||||
and unordered list items.
|
||||
|
||||
Rationale: Consistent formatting makes it easier to understand a document.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue