mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-22 15:06:13 +01:00
Add support for pandoc-style YAML front matter fences ---/... (fixes #153).
This commit is contained in:
parent
61d6311a3e
commit
df2507f030
4 changed files with 13 additions and 2 deletions
|
|
@ -342,7 +342,7 @@ ignores common forms of "front matter". To match differently, specify a custom
|
|||
The default value:
|
||||
|
||||
```js
|
||||
/^(---|\+\+\+)$[^]*?^\1$(\r\n|\r|\n)/m
|
||||
/((^---$[^]*?^---$)|(^\+\+\+$[^]*?^(\+\+\+|\.\.\.)$))(\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