[GH-ISSUE #233] MD029/ol-prefix: Ordered list item prefix [Expected: 1; Actual: 3; Style: 1/1/1]markdownlint(MD029) #201

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

Originally created by @a-wip0 on GitHub (Oct 30, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/233

I know this issue exist before it shows me 4 people already made this while writing this issue, but i already try solution from #49 and #38 but still failed.

So, I have a list like this

  1. Number 1
  2. Number 2

Lorem Ipsum something something,
another line but in the same blockquote.

  1. Number 3

It gives me a warning message MD029/ol-prefix: Ordered list item prefix [Expected: 1; Actual: 3; Style: 1/2/3]markdownlint(MD029) on the 3.

How to solve it?

Originally created by @a-wip0 on GitHub (Oct 30, 2019). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/233 I know this issue exist before it shows me 4 people already made this while writing this issue, but i already try solution from #49 and #38 but still failed. So, I have a list like this 1. Number 1 2. Number 2 > Lorem Ipsum something something, another line but in the same blockquote. 3. Number 3 It gives me a warning message `MD029/ol-prefix: Ordered list item prefix [Expected: 1; Actual: 3; Style: 1/2/3]markdownlint(MD029)` on the `3.` How to solve it?
kerem 2026-03-03 01:24:37 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Oct 30, 2019):

In order for the block quote to be part of the list item, it needs to be indented three spaces to match the rest of the content. Here is an example based on your scenario above: https://dlaa.me/markdownlint/#%25m%23%20233%0A%0A1.%20Number%201%0A2.%20Number%202%0A%20%20%20%3E%20Lorem%20Ipsum%20something%20something%2C%0A%20%20%20%3E%20another%20line%20but%20in%20the%20same%20blockquote.%0A3.%20Number%203%0A

<!-- gh-comment-id:547975975 --> @DavidAnson commented on GitHub (Oct 30, 2019): In order for the block quote to be part of the list item, it needs to be indented three spaces to match the rest of the content. Here is an example based on your scenario above: https://dlaa.me/markdownlint/#%25m%23%20233%0A%0A1.%20Number%201%0A2.%20Number%202%0A%20%20%20%3E%20Lorem%20Ipsum%20something%20something%2C%0A%20%20%20%3E%20another%20line%20but%20in%20the%20same%20blockquote.%0A3.%20Number%203%0A
Author
Owner

@a-wip0 commented on GitHub (Oct 31, 2019):

Thanks, give three space before the blockquote solve it..

<!-- gh-comment-id:548167509 --> @a-wip0 commented on GitHub (Oct 31, 2019): Thanks, give three space before the `blockquote` solve it..
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#201
No description provided.