Skip to content

Pre wrapped in div has extra paragraph inserted #238

@runemadsen

Description

@runemadsen

Take a look at this example

Is this expected behavior? It seems that when a <pre> is not a direct child of root, markdown-it doesn't treat the code inside of it as pre text. Instead, it gets an empty paragraph.

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