[GH-ISSUE #250] MD029 Allow lists ordered starting with 0 #214

Closed
opened 2026-03-03 01:24:45 +03:00 by kerem · 2 comments
Owner

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?

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?
kerem 2026-03-03 01:24:45 +03:00
Author
Owner

@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.

<!-- gh-comment-id:578980289 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:585554307 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#214
No description provided.