Update MD024/no-duplicate-heading to remove duplicate parameter allow_different_nesting which confuses people.

This commit is contained in:
David Anson 2023-12-05 19:23:17 -08:00
parent c39facc73f
commit f2725178b1
15 changed files with 19 additions and 49 deletions

View file

@ -15,9 +15,8 @@ To fix this, ensure that the content of each heading is different:
## Some more text
```
If the parameter `siblings_only` (alternatively `allow_different_nesting`) is
set to `true`, heading duplication is allowed for non-sibling headings (common
in changelogs):
If the parameter `siblings_only` is set to `true`, duplication is allowed for
headings with different parents (as is common in changelogs):
```markdown
# Change log