4 comments

  • letientai299 11 hours ago
    Cool. I’ve just publish a tool md2cb to convert markdown to clipboard content (https://news.ycombinator.com/item?id=46896623) using mmdr internally. Totally unaware of this being posted just yesterday.
  • tricked 12 hours ago
    This is really neat, i wonder if this could be made into a typst plugin now so that you can create mermaid code blocks that turn into diagrams when rendered. The original mermaid can't be added to typst sadly but i bet this could.
  • jackothy 1 day ago
    Does it make sense to create a Wasm build of this for the browser? Or is the speedup mainly due to the browser spawning step rather than execution/rendering itself?
    • dzogchen 16 hours ago
      I reckon the main speed up is from not having to launch a browser.
      • danhau 15 hours ago
        Mermaid can also be used inside the browser directly, I believe. The WASM compiled Rust implementation could still outperform it.
        • jackothy 14 hours ago
          Exactly, that's what I wanted to know. No other way to find out than to test, though. Don't know how easy it would be to wire it up.
  • plankalkyl 17 hours ago
    Could this be used as a drop-in replacement for mermaid-cli or is the CLI different?