Skip to content

eltorocorp/yew-mermaid

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 71.9%
  • SCSS 21.7%
  • HTML 3.6%
  • TypeScript 2.8%