Update MD031/blanks-around-fences to handle missing close fence.

This commit is contained in:
David Anson 2024-08-17 20:29:27 -07:00
parent c8fd9eb4b3
commit 2b8369ae39
5 changed files with 36 additions and 22 deletions

View file

@ -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}
```