mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 17:56:02 +03:00
[GH-ISSUE #1532] Is the MD029/ol-prefix rule being triggered incorrectly? #2548
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#2548
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 @clicktodev on GitHub (Mar 7, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1532
what's wrong with this?
Local Development Setup
@DavidAnson commented on GitHub (Mar 7, 2025):
Because the code fences are not indented, what you show above is three separate lists and the lint rule is correctly saying the second and third do not begin with the number 1. If your intent is for that to be a single list with three items, the code fences need to be indented to line up under the first character of the list content – three spaces for the example above.
@clicktodev commented on GitHub (Mar 8, 2025):
I tried it at first but it turns out it needs to be indented at the same level as the bullet title. thanks!