mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update MD031/blanks-around-fences to handle missing close fence.
This commit is contained in:
parent
c8fd9eb4b3
commit
2b8369ae39
5 changed files with 36 additions and 22 deletions
|
|
@ -19,12 +19,12 @@ Text
|
|||
|
||||
- Item
|
||||
```text
|
||||
fence {MD031:21} {MD031:23}
|
||||
fence {MD031:-1} {MD031:+1}
|
||||
```
|
||||
- Item
|
||||
- Item
|
||||
```text
|
||||
fence {MD031:26} {MD031:28}
|
||||
fence {MD031:-1} {MD031:+1}
|
||||
```
|
||||
- Item
|
||||
|
||||
|
|
@ -49,18 +49,25 @@ Text
|
|||
|
||||
1. Item
|
||||
```text
|
||||
fence {MD031:51} {MD031:53}
|
||||
fence {MD031:-1} {MD031:+1}
|
||||
```
|
||||
1. Item
|
||||
1. Item
|
||||
```text
|
||||
fence {MD031:56} {MD031:58}
|
||||
fence {MD031:-1} {MD031:+1}
|
||||
```
|
||||
1. Item
|
||||
|
||||
Text
|
||||
|
||||
1. Text
|
||||
|
||||
```text
|
||||
code
|
||||
|
||||
Text
|
||||
|
||||
1. Text
|
||||
```shell
|
||||
fence {MD031:64} {MD031:65} {MD031:66} {MD032:65} {MD040:66}
|
||||
fence {MD031:-1} {MD031} {MD031:+1} {MD032} {MD040:+1}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue