mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Allow for trailing spaces after front matter open/close fences (fixes #208).
This commit is contained in:
parent
91b4fcd55f
commit
cd7a65cedd
8 changed files with 36 additions and 2 deletions
|
@ -367,7 +367,7 @@ ignores common forms of "front matter". To match differently, specify a custom
|
|||
The default value:
|
||||
|
||||
```js
|
||||
/((^---$[^]*?^---$)|(^\+\+\+$[^]*?^(\+\+\+|\.\.\.)$))(\r\n|\r|\n|$)/m
|
||||
/((^---\s*$[^]*?^---\s*$)|(^\+\+\+\s*$[^]*?^(\+\+\+|\.\.\.)\s*$))(\r\n|\r|\n|$)/m
|
||||
```
|
||||
|
||||
Ignores [YAML](https://en.wikipedia.org/wiki/YAML) and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue