mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-05 15:38:49 +01:00
Ignore TOML front matter in addition to YAML (fixes #63).
This commit is contained in:
parent
0e8cb8f0dd
commit
5bea80f5cd
9 changed files with 38 additions and 8 deletions
4
test/front-matter-empty.json
Normal file
4
test/front-matter-empty.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD041": true
|
||||
}
|
||||
4
test/front-matter.json
Normal file
4
test/front-matter.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD041": true
|
||||
}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
front: matter
|
||||
---
|
||||
|
||||
# Header 1
|
||||
|
||||
## Header 2
|
||||
|
|
|
|||
4
test/hugo-quickstart-example-clean.json
Normal file
4
test/hugo-quickstart-example-clean.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD041": true
|
||||
}
|
||||
7
test/hugo-quickstart-example-clean.md
Normal file
7
test/hugo-quickstart-example-clean.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
+++
|
||||
date = "2016-02-14T16:11:58+05:30"
|
||||
draft = true
|
||||
title = "Good to Great Book Review"
|
||||
|
||||
+++
|
||||
# Header 1
|
||||
4
test/hugo-quickstart-example-issue.json
Normal file
4
test/hugo-quickstart-example-issue.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD041": true
|
||||
}
|
||||
8
test/hugo-quickstart-example-issue.md
Normal file
8
test/hugo-quickstart-example-issue.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
date = "2016-02-14T16:11:58+05:30"
|
||||
draft = true
|
||||
title = "Good to Great Book Review"
|
||||
|
||||
+++
|
||||
|
||||
# Header 1 {MD041}
|
||||
Loading…
Add table
Add a link
Reference in a new issue