redimp / otterwiki

A minimalistic wiki powered by python, markdown and git.
https://otterwiki.com
MIT License
648 stars 29 forks source link

Support for rendering mermaid md #138

Closed LeskoIam closed 2 months ago

LeskoIam commented 2 months ago

It would be really great if rendering of mermaid markdown could be added?

redimp commented 2 months ago

I think adding mermaid rendering would be a useful feature.

A mermaid block like this

```mermaid
graph TD;
    A-->B;

would be rendered when viewing the page. Is that what you have in mind?
LeskoIam commented 2 months ago

Exactly. A code block, just like gihub supports it.

flowchart
    NO_MM(["No mermaid support"])
    MM(["Mermaid supported"])
    NO_MM -- mermaid markdown is awesome --> MM
redimp commented 2 months ago

Released in 2.6.0.