Reimplement MD007/ul-indent using micromark tokens, reduce the length of fix edits (fixes #969).

This commit is contained in:
David Anson 2023-10-15 21:24:59 -07:00
parent cdf0818752
commit da17cec722
11 changed files with 1138 additions and 238 deletions

63
test/lists-on-a-line.md Normal file
View 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
} -->