mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Update MD043/required-headings to treat "*" as "zero or more" and "+" as "one or more" (fixes #281).
This commit is contained in:
parent
c693a9a3d8
commit
e20502c494
12 changed files with 126 additions and 13 deletions
|
@ -1678,8 +1678,9 @@ To allow optional headings as with the following structure:
|
|||
### Notes (optional)
|
||||
```
|
||||
|
||||
Use the special value `"*"` meaning "one or more unspecified headings" and set
|
||||
the `headings` parameter to:
|
||||
Use the special value `"*"` meaning "zero or more unspecified headings" or the
|
||||
special value `"+"` meaning "one or more unspecified headings" and set the
|
||||
`headings` parameter to:
|
||||
|
||||
```json
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue