Skip to content

In a mixed list, lack of indentation leads to combining of the lists #4067

@ashishguptaiitb

Description

@ashishguptaiitb

In my source MD file, I have the following list. Note that there's no indentation for the unordered list. (It is a mistake and I've fixed it.)

1. text
2. text

* text
* text

Even without indentation, the CommonMark spec requires the formatting to be as shown below.

Image

The output generated by MkDocs is below and isn't desired. Is this a deviation from the expected and hence a bug?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions