I generate svg with custom background like so :
mmdc version
Code: Select all
$ mmdc -V
11.4.2
$ cat test.mermaid
sequenceDiagram
developer ->>+ app: 1. Dev
$ mmdc -i test.mermaid -o output.svg -b 'red'
When i open output.svg with ristretto image viewer (0.12.4) , image has no background.
What gives?
From my point of view svg is ok, since firefox can view it. it even has :
Code: Select all
style="max-width: 450px; background-color: red;"
Thanks for any pointers to resolve this.