We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Opening SVG's exported by D2 in LaTeX or Inkscape results in a black box where the diagram should be
Create a simple D2 diagram: "x->y" already does the trick
Open the svg in Inkscape
Tested in d2 v0.6.7
The text was updated successfully, but these errors were encountered:
Ah so this is due to contexts where CSS doesn't get executed. D2 should inline the styles in addition to using css classes
Sorry, something went wrong.
actually if we do it by default, it will override the auto light/dark switching.
Maybe we do it only if --dark-theme is not supplied by default, and just caveat that passing in theme and dark-theme together will have this behavior
Successfully merging a pull request may close this issue.
The problem
Opening SVG's exported by D2 in LaTeX or Inkscape results in a black box where the diagram should be
How to reproduce
Create a simple D2 diagram:
"x->y" already does the trick
Open the svg in Inkscape
Expected result
Actual result
Tested in d2 v0.6.7
The text was updated successfully, but these errors were encountered: