mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 05:50: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
104
test/lists-in-blockquote-start-indented-no-list-items.md
Normal file
104
test/lists-in-blockquote-start-indented-no-list-items.md
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
# Lists in Blockquote Start Indented
|
||||
|
||||
Text
|
||||
|
||||
+ Item
|
||||
+ Item
|
||||
more
|
||||
item
|
||||
+ Item
|
||||
+ Item
|
||||
+ Item
|
||||
more
|
||||
item
|
||||
+ Item
|
||||
+ Item
|
||||
+ Item
|
||||
+ Item
|
||||
+ Item
|
||||
|
||||
Text
|
||||
|
||||
Code
|
||||
|
||||
Text
|
||||
|
||||
<!-- markdownlint-disable ul-indent -->
|
||||
|
||||
> Text
|
||||
>
|
||||
> + Item
|
||||
> + Item
|
||||
> more
|
||||
> item
|
||||
> + Item
|
||||
> + Item
|
||||
> + Item
|
||||
> more
|
||||
> item
|
||||
> + Item
|
||||
> + Item
|
||||
> + Item
|
||||
> + Item
|
||||
> + Item
|
||||
>
|
||||
> Text
|
||||
>
|
||||
> Code
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
Text
|
||||
|
||||
1. Item
|
||||
1. Item
|
||||
more
|
||||
item
|
||||
1. Item
|
||||
1. Item
|
||||
1. Item
|
||||
more
|
||||
item
|
||||
1. Item
|
||||
1. Item
|
||||
1. Item
|
||||
1. Item
|
||||
1. Item
|
||||
|
||||
Text
|
||||
|
||||
Code
|
||||
|
||||
Text
|
||||
|
||||
> Text
|
||||
>
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> more
|
||||
> item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> more
|
||||
> item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
> 1. Item
|
||||
>
|
||||
> Text
|
||||
>
|
||||
> Code
|
||||
|
||||
Text
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"no-multiple-space-blockquote": {
|
||||
"list_items": false
|
||||
},
|
||||
"ul-indent": {
|
||||
"start_indented": true
|
||||
}
|
||||
} -->
|
||||
|
|
@ -907,7 +907,7 @@ test("readme", async(t) => {
|
|||
});
|
||||
|
||||
test("validateJsonUsingConfigSchemaStrict", async(t) => {
|
||||
t.plan(186);
|
||||
t.plan(187);
|
||||
// @ts-ignore
|
||||
const ajv = new Ajv(ajvOptions);
|
||||
const validateSchemaStrict = ajv.compile(configSchemaStrict);
|
||||
|
|
|
|||
|
|
@ -34651,6 +34651,119 @@ Generated by [AVA](https://avajs.dev).
|
|||
`,
|
||||
}
|
||||
|
||||
## lists-in-blockquote-start-indented-no-list-items.md
|
||||
|
||||
> Snapshot 1
|
||||
|
||||
{
|
||||
errors: [],
|
||||
fixed: `# Lists in Blockquote Start Indented␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
more␊
|
||||
item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
more␊
|
||||
item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
+ Item␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
Code␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
<!-- markdownlint-disable ul-indent -->␊
|
||||
␊
|
||||
> Text␊
|
||||
>␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> more␊
|
||||
> item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> more␊
|
||||
> item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
> + Item␊
|
||||
>␊
|
||||
> Text␊
|
||||
>␊
|
||||
> Code␊
|
||||
␊
|
||||
<!-- markdownlint-restore -->␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
more␊
|
||||
item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
more␊
|
||||
item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
1. Item␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
Code␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
> Text␊
|
||||
>␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> more␊
|
||||
> item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> more␊
|
||||
> item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
> 1. Item␊
|
||||
>␊
|
||||
> Text␊
|
||||
>␊
|
||||
> Code␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
<!-- markdownlint-configure-file {␊
|
||||
"no-multiple-space-blockquote": {␊
|
||||
"list_items": false␊
|
||||
},␊
|
||||
"ul-indent": {␊
|
||||
"start_indented": true␊
|
||||
}␊
|
||||
} -->␊
|
||||
`,
|
||||
}
|
||||
|
||||
## lists-in-blockquote-start-indented.md
|
||||
|
||||
> Snapshot 1
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue