mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add MD032 with tests, improve infrastructure.
This commit is contained in:
parent
160146ac3a
commit
aef1524308
3 changed files with 111 additions and 1 deletions
75
test/lists_without_blank_lines.md
Normal file
75
test/lists_without_blank_lines.md
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
* list (on first line)
|
||||
|
||||
text
|
||||
|
||||
* list
|
||||
|
||||
text
|
||||
* list {MD032}
|
||||
text
|
||||
+ list {MD032}
|
||||
text
|
||||
- list {MD032}
|
||||
text
|
||||
1. list {MD032}
|
||||
text
|
||||
|
||||
* list
|
||||
* list {MD032}
|
||||
text
|
||||
|
||||
text
|
||||
10. list {MD032}
|
||||
20. list
|
||||
|
||||
text
|
||||
|
||||
* list
|
||||
* list
|
||||
* list
|
||||
|
||||
text
|
||||
|
||||
* list
|
||||
with hanging indent
|
||||
* list
|
||||
with hanging indent
|
||||
* list
|
||||
with hanging indent
|
||||
|
||||
Note: list without hanging indent violates MD032
|
||||
|
||||
* list
|
||||
|
||||
item with blank lines
|
||||
|
||||
* list
|
||||
|
||||
item with blank lines
|
||||
|
||||
text
|
||||
|
||||
```js
|
||||
/*
|
||||
* code block
|
||||
* not a list
|
||||
*/
|
||||
```
|
||||
|
||||
text
|
||||
|
||||
* list {MD032}
|
||||
``` {MD031}
|
||||
code
|
||||
```
|
||||
|
||||
text
|
||||
|
||||
```
|
||||
code
|
||||
``` {MD031}
|
||||
* list {MD032}
|
||||
|
||||
text
|
||||
|
||||
* list (on last line without newline)
|
||||
Loading…
Add table
Add a link
Reference in a new issue