Open nelson6e65 opened 2 years ago
I'm also facing the same in VSCode.
@nelson6e65 I'm using your CSS, in case if you are removing it assuming no one is using it.
"markdown.styles": [
"https://cdn.jsdelivr.net/gh/sindresorhus/github-markdown-css/github-markdown.css",
"https://cdn.jsdelivr.net/gh/elegantech/github-markdown-css@transparent/github-markdown-with-transparent-background.min.css"
],
I'm using it, too, @jd-solanki. ðŸ¤
But in my case, I'm using github-markdown-dark.min.css
, because github-markdown.css
only work if you have auto color schema in your editor theme enabled and your SO.
It is available in my transparent
branch (https://github.com/elegantech/github-markdown-css/commit/bfa0f5dc8c148e0a04b4ab49964dd7f1951532b2#commitcomment-95419774), but I just added manually, I don't know how to apply it as PR into this repository.
If it were about to add to this repo, then it must be an option that alters the generating logic, like --background=transparent
.
Note that it may not fully solve your original problem. As I know about VSCode, it has defined its own colors about blockquotes and other corners. In the end you will still have to write additional styles to fix it.
Background (
--color-canvas-default
) is forced toblack
andwhite
.To use on editors, like Visual Studio Code, not all themes are
black
|white
.I know I can publish my own style, but it would be nice to have an extra CSS file published with transparent background in the official CDN. Like:
So we can import it at the end, like: