mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-29 10:26:09 +01:00
Allow trailing spaces in indented code blocks (#191)
This commit is contained in:
parent
2f1c2c5312
commit
779a55a662
4 changed files with 17 additions and 3 deletions
|
|
@ -9,6 +9,12 @@ And here is more text
|
|||
This is a code block that won't trigger.
|
||||
```
|
||||
|
||||
```text
|
||||
This is code
|
||||
|
||||
with a line with trailing spaces. {MD009:14}
|
||||
```
|
||||
|
||||
But we'll do another:
|
||||
|
||||
And this {MD046}
|
||||
|
|
|
|||
|
|
@ -14,4 +14,8 @@ But we'll do another:
|
|||
And this
|
||||
will.
|
||||
|
||||
Final text is here
|
||||
One last one:
|
||||
|
||||
This is code
|
||||
|
||||
with an empty indented line.
|
||||
|
|
|
|||
|
|
@ -2,3 +2,5 @@ This line has a single trailing space {MD009}
|
|||
This line has two trailing spaces and should be allowed
|
||||
This line has three trailing spaces {MD009}
|
||||
This line has four trailing spaces {MD009}
|
||||
|
||||
{MD009:5}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue