mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #250] MD029 Allow lists ordered starting with 0 #214
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yakatz on GitHub (Jan 27, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/250
Lists in my document start with the number 0 and are ordered after that. Is there a way to allow zero-indexed lists?
@DavidAnson commented on GitHub (Jan 27, 2020):
Not today. The supported options are here: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md029---ordered-list-item-prefix
0/1/2 is possible, but I’ve not had this request before and would like to avoid adding more options to this rule.
@DavidAnson commented on GitHub (Feb 13, 2020):
Actually, I think this can be supported without a new parameter. The rule will prefer 1/2/3, but allow 0/1/2 if present. I’ll look into this for the next round of updates.