Skip to content

[FEATURE] Support Typora-style mermaid markdown rendering #32

@ClSlaid

Description

@ClSlaid

Describe the feature you want

  • use typora-style mermaid markdown rending.
    Currently, most Hugo themes use short-codes as their way of importing multimedia content, and it does useful and convenient.
    However, as a visual studio code user (or markdown preview enhanced user, more precisely), shortcodes are not working in its editor; Typora uses the following syntax to import mermaid graphs.
```mermaid
#mermaid diagram scripts
```    e.g.

Then the editor will directly render them into graphs, what you see is what you got.

图片

What if the theme could directly render such syntax of markdown text? then we needn't search through the whole text and replace them one by one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions