Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Render in dark mode #8

Open
PrinceP opened this issue Aug 31, 2021 · 1 comment
Open

Render in dark mode #8

PrinceP opened this issue Aug 31, 2021 · 1 comment

Comments

@PrinceP
Copy link

PrinceP commented Aug 31, 2021

The svg saved doesn't work for dark mode in GitHub pages. Is there a workaround?

Screenshot 2021-08-31 at 8 48 46 AM

@dzylikecode
Copy link

dzylikecode commented Apr 10, 2022

Yes, I have the same problem. It seems that the background color of the image doesn't work.

  • solved

I find a solution. You should modify the link like the following:

<div align="center"><img src="https://render.githubusercontent.com/render/math?math=\color{red}\bbox[white]{E=mc^2}"></div>

it works :

Now, I just add such a feature to the plugin. You can check it at #13.

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

No branches or pull requests

2 participants