2 unstable releases
0.2.0 | Oct 28, 2020 |
---|---|
0.1.0 | Oct 28, 2020 |
#17 in #mermaid
1MB
1K
SLoC
Mermaid.js for Yew
Render diagram with Mermaid.js in Yew!
- The online preview: https://galaster.github.io/yew-mermaid.js
How to use
-
No CDN needed
-
Easily added using
<Mermaid/>
use yew_mermaid::Mermaid;
html! {
<Mermaid code=&self.input theme="neutral"/>
}
Todo
- Fix the problem that the entire wasm vm crashes when rendering errors
Dependencies
~12MB
~228K SLoC