merman: Mermaid.js, but headless, in Rust
8 points by wofo
8 points by wofo
I'm uncertain. When I hear "headless", I think mermaid-rs which uses a headless Chrome instance, but the description and number of dependencies seem to suggest this actually re-implements Mermaid rendering in Rust.
...so which is it?
(For me, what really matters is whether it's suitable for compiling to WebAssembly to run as a sandboxed WASIp2 plugin for the static site generator I've been working on. As-is, I use things like layout-rs and svgbob for this kind of purpose for exactly that reason.)
This seems clear:
does not launch a browser or JavaScript runtime to render diagrams.
Also the notes on how they ensure parity with mermaid.js describe the kind of testing infrastructure they would need for a reimplementation.
I’ve used plantuml in the past, which is balge but I didn’t love it. I’ve considered trying mermaid but the js is even more offputting than java. Merman looks like the one to try next time I need this kind of thing.
Fair point. I'd just woken up and, somewhere along the way, my phrasing diverged from my intent in the revising.
Fundamentally, the question will be "Will I run into problems when I get around to trying to wrap this in my WASIp2 plugin API and how huge a plugin will it make?".