Closed npanuhin closed 7 months ago
It is certainly possible. I'd have to look into how difficult this would be. I know we sourced most of the CSS from a repo that scraped the store from GitHub, so if they have something that includes the dark theme as well, we could leverage that.
Okay, got it. Which repository are you talking about?
We add a little on top of it I think, but overall, we used what was provided in that repo.
Hi... so I also would like to build md to html with a darktheme. any progress here?
TBH, it's been a pretty low priority, and it slipped my mind. It's probably worth looking into again though.
I am finally getting around to this. It will respond to your system theme.
It works great, thank you! Maybe we can also add a manually configurable option in the package settings, or even a switch/toggle button in the rendered HTML that toggles between light/dark modes? Changing the entire browser theme back and forth just to test how my markdown page looks in different modes is kinda overkill)
You can open a new issue and I can look into some solution.
Hello! A few days ago, GitHub released the dark theme!
Since this plugin is often used to preview the result before publishing it, it would be very handy if a dark theme was implemented here as well.
I opened the
css
folder and found that you have your own CSS files to style the GitHub API output. So creating the second optionalcss/github_dark.css
file is just a matter of time, am I right? :wink: