Skip to content

mmdc --backgroundColor not taken into account in linux image viewers #809

Open
@TwiggyWan

Description

@TwiggyWan

Help us help you!

Hi,

if I make svg like so:

$ $ mmdc -V
11.4.2
$ cat test.mermaid
sequenceDiagram
    developer ->>+ app: 1. Dev
$ mmdc -i test.mermaid -o output.svg -b 'red'

it displays background as 'red' correctly in firefox but not in gnome image viewer or ristretto or emacs. I wonder if mermaid uses some weird way of generating svg that would cause this problem?

I use debian 12 by the way.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions