mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-28 01:46:09 +01:00
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:
parent
21e27a4b63
commit
cb16438a41
5 changed files with 180 additions and 7 deletions
45
test/prettier-tab-width-4.md
Normal file
45
test/prettier-tab-width-4.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# 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
|
||||
}
|
||||
}
|
||||
-->
|
||||
Loading…
Add table
Add a link
Reference in a new issue