Skip to content

Not compatible with mkdocs's admonition #31

Closed
@TiborVoelcker

Description

@TiborVoelcker

A widely used mkdocs plugin is introducing admonitions. I have a lot of code examples in expandable admonitions, like so:

??? quote
    
    ```python
    x = 1
    ```

Using this syntax, the code blocks are not tested.

I believe this is because markdown_it does not recognize it. There should be a plugin available for markdown_it which introduces this syntax so it can be parsed correctly. Maybe there could be a configuration option to add plugins to markdown_it?

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