Update MD013/line-length to include strict mode (fixes #237).

This commit is contained in:
David Anson 2019-12-12 21:22:45 -08:00
parent 5ae5e448b0
commit b39e5e309e
7 changed files with 78 additions and 16 deletions

View file

@ -0,0 +1,8 @@
{
"default": true,
"MD013": {
"strict": true,
"heading_line_length": 30,
"code_block_line_length": 20
}
}

31
test/long-lines-strict.md Normal file
View file

@ -0,0 +1,31 @@
# Long Lines Strict
12345678901234567890123456789012345678901234567890123456789012345678901234567890
This line is too long. text text text text text text text text text text text text
This line is way too long. text text text text text text text text text text text text
This line is barely too long. text text text text text text text text text text t
This line is just okay. text text text text text text text text text text text t
This line is not a problem. text text text text text text text text text text t
## This heading is way too long
## This heading is long but ok
## This heading is short + ok
```text
This code is too long
This code is a-okay.
This code is short.
```
{MD013:5}
{MD013:7}
{MD013:9}
{MD013:15}
{MD013:22}