Why does Mermaid CLI require a browser for image generation? #750
Labels
blocked
This issue/PR is blocked by another issue/PR (potentially in a different project)
enhancement
New feature or request
I was surprised to encounter an error running the Mermaid CLI, stating that I need a browser to generate an image. I’m wondering why this is necessary. For a CLI tool, it feels counterintuitive to rely on a browser for something like image generation.
Is there a technical reason for this? I’d prefer the tool not require a browser at all. Are there any plans to make this dependency optional or to provide a pure Node.js solution for generating images without a browser?
I’d appreciate any insights or future plans around this.
Thanks!
The text was updated successfully, but these errors were encountered: