Update MD009/no-trailing-spaces to allow trailing spaces in fenced code blocks (fixes #292).

This commit is contained in:
David Anson 2020-11-21 16:53:31 -08:00
parent 6c1bc8ecb5
commit bd63c57fde
4 changed files with 45 additions and 10 deletions

View file

@ -0,0 +1,40 @@
# code-block-trailing-spaces
Text
Two trailing spaces {MD009}
Text
Indented code block
Statement
Indented statement
Statement
Indented statement
Two trailing spaces
Text
```text
Fenced code block
Statement
Indented statement
Statement
Indented statement
Two trailing spaces
```
Text
<!-- markdownlint-configure-file
{
"no-trailing-spaces": { "strict": true },
"code-block-style": false
}
-->