[GH-ISSUE #1342] Mixing ordered and unordered lists triggers MD032 #2512

Closed
opened 2026-03-07 20:08:28 +03:00 by kerem · 2 comments
Owner

Originally created by @charlescoult-boeing on GitHub (Aug 29, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1342

image

If I want to have a bulleted list mixed in with a numbered list (unordered sub-items of an item in an ordered list), the linter sees them as two separate lists. Is it possible to configure the linter to allow mixed lists so that I don't have to turn of MD032?

Originally created by @charlescoult-boeing on GitHub (Aug 29, 2024). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1342 ![image](https://github.com/user-attachments/assets/6d7af8c8-60fd-4455-8f4b-33cb978f3c8e) If I want to have a bulleted list mixed in with a numbered list (unordered sub-items of an item in an ordered list), the linter sees them as two separate lists. Is it possible to configure the linter to allow mixed lists so that I don't have to turn of MD032?
kerem 2026-03-07 20:08:28 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@nschonni commented on GitHub (Aug 29, 2024):

The unoreded list doesn't look like it's indented enough. It would need to start at least 3 spaces in, if it's supposed to be part of the list time

<!-- gh-comment-id:2319044527 --> @nschonni commented on GitHub (Aug 29, 2024): The unoreded list doesn't look like it's indented enough. It would need to start at least 3 spaces in, if it's supposed to be part of the list time
Author
Owner

@DavidAnson commented on GitHub (Aug 29, 2024):

Thanks, Nick. @charlescoult-boeing, the relevant part of the specification is here (especially examples 255-258): https://spec.commonmark.org/0.31.2/#list-items

<!-- gh-comment-id:2319316901 --> @DavidAnson commented on GitHub (Aug 29, 2024): Thanks, Nick. @charlescoult-boeing, the relevant part of the specification is here (especially examples 255-258): https://spec.commonmark.org/0.31.2/#list-items
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#2512
No description provided.