mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-18 07:39:03 +02:00
Support front matter title property override for MD041/first-line-h1 (fixes #53).
This commit is contained in:
parent
4ae649c462
commit
942f0600d2
18 changed files with 131 additions and 12 deletions
|
|
@ -813,6 +813,11 @@
|
|||
"description": "Header level",
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"front_matter_title": {
|
||||
"description": "RegExp for matching title in front matter",
|
||||
"type": "string",
|
||||
"default": "^\\s*title:"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
@ -829,6 +834,11 @@
|
|||
"description": "Header level",
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"front_matter_title": {
|
||||
"description": "RegExp for matching title in front matter",
|
||||
"type": "string",
|
||||
"default": "^\\s*title:"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue