Open radupotop opened 4 months ago
Opened a corresponding issue here with librsvg:
https://gitlab.gnome.org/GNOME/librsvg/-/issues/1082
It looks like this is an issue with mermaid-cli after all:
This SVG uses
foreignObject
to embed HTML text. Supporting this would basically involve having a whole HTML renderer inside librsvg. Please tell mermaid-cli to use SVG text elements instead.
I have this problem too.
My input Markdown file and output PNG and SVG files are attached, as are how Inkscape and Gwenview render the SVG file. wardrobe-sort.md
Describe the bug
mmdc
does not generate labels when outputting SVG files. This happens for flow charts and class charts on my machine, but not for sequence diagrams for example.To Reproduce Steps to reproduce the behavior:
Output:
Expected behavior
The graph should include labels like so:
Desktop (please complete the following information):
My gut feeling is this is related to rendering on my machine (pango, cairo, etc).