Update MD029/ol-prefix to fix reported violations (fixes #949).

This commit is contained in:
Marco Ferrari 2025-08-20 16:24:46 +00:00 committed by David Anson
parent 3532e3110a
commit 371a35f62f
9 changed files with 1019 additions and 178 deletions

View file

@ -1046,6 +1046,8 @@ Parameters:
- `style`: List style (`string`, default `one_or_ordered`, values `one` /
`one_or_ordered` / `ordered` / `zero`)
Fixable: Some violations can be fixed by tooling
This rule is triggered for ordered lists that do not either start with '1.' or
do not have a prefix that increases in numerical order (depending on the
configured style). The less-common pattern of using '0.' as a first prefix or

View file

@ -9,6 +9,8 @@ Parameters:
- `style`: List style (`string`, default `one_or_ordered`, values `one` /
`one_or_ordered` / `ordered` / `zero`)
Fixable: Some violations can be fixed by tooling
This rule is triggered for ordered lists that do not either start with '1.' or
do not have a prefix that increases in numerical order (depending on the
configured style). The less-common pattern of using '0.' as a first prefix or