Skip to content

Syntax highlighting and remove <pre> tag #269

Description

@egoist

I need to use https://github.com/knsv/mermaid and markdown-it together

eg:

```mermaid
code
```

into:

'<div class="mermaid">'+code+'</div>'

and it should not have <pre><code> wrapped around.

The current solution won't work https://github.com/markdown-it/markdown-it#syntax-highlighting

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions