DannyBen / madness

Instant Markdown Server
https://madness.dannyb.co
MIT License
128 stars 19 forks source link

Add optional support for mermaid charts #181

Closed DannyBen closed 4 months ago

DannyBen commented 4 months ago

As suggested in #180

This PR adds support for mermaid diagrams. Just enable it in the configuration:

# .madness.yml
mermaid: true

and put your diagrams inside

<div class='mermaid'>...</div>