Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 396 Bytes

Readme.md

File metadata and controls

24 lines (15 loc) · 396 Bytes

Mermaid.js for Yew

Render diagram with Mermaid.js in Yew!

How to use

  1. No CDN needed

  2. 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