yew-mermaid

Crates.ioyew-mermaid
lib.rsyew-mermaid
version0.2.0
sourcesrc
created_at2020-10-28 06:53:49.53479
updated_at2020-10-28 06:59:59.825264
descriptionRender math with KaTeX in Yew!
homepage
repositoryhttps://github.com/GalAster/yew-mermaid.js
max_upload_size
id306236
size3,018
SasakiSaki (oovm)

documentation

README

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
Commit count: 2

cargo fmt