mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-06 16:08:49 +01:00
Reimplement MD007/ul-indent using micromark tokens, reduce the length of fix edits (fixes #969).
This commit is contained in:
parent
cdf0818752
commit
da17cec722
11 changed files with 1138 additions and 238 deletions
63
test/lists-on-a-line.md
Normal file
63
test/lists-on-a-line.md
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# Lists on a Line
|
||||
|
||||
## Correct
|
||||
|
||||
Text
|
||||
|
||||
* * Item
|
||||
|
||||
Text
|
||||
|
||||
* * * Item
|
||||
|
||||
Text
|
||||
|
||||
- + * Item
|
||||
|
||||
Text
|
||||
|
||||
- 1. Item
|
||||
|
||||
Text
|
||||
|
||||
- 1. + Item
|
||||
|
||||
Text
|
||||
|
||||
* * * Item
|
||||
* Item
|
||||
* Item
|
||||
* Item
|
||||
|
||||
## Incorrect
|
||||
|
||||
Text
|
||||
|
||||
* * Item {MD007}
|
||||
|
||||
Text
|
||||
|
||||
* * * Item {MD007}
|
||||
|
||||
Text
|
||||
|
||||
- + * Item {MD007}
|
||||
|
||||
Text
|
||||
|
||||
- 1. Item {MD007}
|
||||
|
||||
Text
|
||||
|
||||
- 1. + Item {MD007}
|
||||
|
||||
Text
|
||||
|
||||
* * * Item {MD007}
|
||||
* Item {MD005} {MD007}
|
||||
* Item {MD005} {MD007}
|
||||
* Item {MD005} {MD007}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"ul-style": false
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue