Allow trailing spaces in code blocks

This commit is contained in:
Wouter Admiraal 2019-05-23 14:49:55 +02:00
parent 95d23b9a11
commit 2e391a5ca1
4 changed files with 18 additions and 3 deletions

View file

@ -9,9 +9,16 @@ And here is more text
This is a code block that won't trigger.
```
```text
This is code
with an empty line.
```
But we'll do another:
And this {MD046}
will.
Final text is here
{MD009:14}

View file

@ -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.

View file

@ -1,4 +1,6 @@
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}
{MD009:4}
This line has four trailing spaces {MD009}