Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TwiggyWan opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@TwiggyWan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant