Open igorwojda opened 5 years ago
@igorwojda, the rendering of the SVG is done by the JavaFX browser. I do not know if the background can be changed without modifying the SVG.
I'll mark it as an enhancement to be implemented after the next release, unless I figure out an easy way of doing it through CSS/HTML.
I am not sure what features and SVG version JavaFX browser supports, but I think may be helpful for you in the future https://stackoverflow.com/questions/11293026/default-background-color-of-svg-root-element
Now when Markdown Navigator supports SVG I realized that we may have a new problem - some SVGs may be hard to read in preview due to IDE dark background color (vs default Github light background color). Can we have an option to override SVG background color for all SVG previews? or maybe even better override it only when the background is transparent/non-existing?