Add various Markdown lists as formatted by Prettier with the default --tab-width of 2 and the not uncommon alternate of 4, update Prettier.md with the relevant configuration (produced using v2.8.1 of https://prettier.io/playground/) (refs #652).

This commit is contained in:
David Anson 2022-12-13 20:24:21 -08:00
parent 21e27a4b63
commit cb16438a41
5 changed files with 180 additions and 7 deletions

View file

@ -32816,6 +32816,102 @@ Generated by [AVA](https://avajs.dev).
`,
}
## prettier-tab-width-2-default.md
> Snapshot 1
{
errors: [],
fixed: `# Prettier \`--tab-width=2\` (Default)␊
Text␊
- Item␊
- Item␊
- Item␊
Text␊
- Item␊
- Item␊
- Item␊
- Item␊
- Item␊
- Item␊
Text␊
1. Item␊
1. Item␊
1. Item␊
Text␊
1. Item␊
2. Item␊
1. Item␊
2. Item␊
1. Item␊
2. Item␊
Text␊
`,
}
## prettier-tab-width-4.md
> Snapshot 1
{
errors: [],
fixed: `# Prettier \`--tab-width==4\`␊
Text␊
- Item␊
- Item␊
- Item␊
Text␊
- Item␊
- Item␊
- Item␊
- Item␊
- Item␊
- Item␊
Text␊
1. Item␊
1. Item␊
1. Item␊
Text␊
1. Item␊
2. Item␊
1. Item␊
2. Item␊
1. Item␊
2. Item␊
Text␊
<!-- markdownlint-configure-file␊
{␊
"list-marker-space": {␊
"ul_multi": 3,␊
"ul_single": 3␊
},␊
"ul-indent": {␊
"indent": 4␊
}␊
}␊
-->␊
`,
}
## proper-names-alternate.md
> Snapshot 1