mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-04 23:18:49 +01:00
Update MD043/required-headings to support "?" meaning "exactly one unspecified heading" (fixes #475).
This commit is contained in:
parent
06b60b7372
commit
5749c8dcf7
15 changed files with 297 additions and 18 deletions
15
test/required-headings-question-missing.md
Normal file
15
test/required-headings-question-missing.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Project Name
|
||||
|
||||
## Examples
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"required-headings": {
|
||||
"headings": [
|
||||
"# Project Name",
|
||||
"?",
|
||||
"## Examples"
|
||||
]
|
||||
}
|
||||
} -->
|
||||
|
||||
{MD043:+1}
|
||||
Loading…
Add table
Add a link
Reference in a new issue