Render diagram with Mermaid.js in Yew!
- The online preview: https://galaster.github.io/yew-mermaid.js
-
No CDN needed
-
Easily added using
<Mermaid/>
use yew_mermaid::Mermaid;
html! {
<Mermaid code=&self.input theme="neutral"/>
}
- Fix the problem that the entire wasm vm crashes when rendering errors