VSCode Markdown Preview Dracula Theme
Search Markdown:Styles in setting, add https://cdn.jsdelivr.net/gh/xrunes/vsc_md_preview_theme/style.css.
Or modify setting.json, add
"markdown.styles": [
"https://cdn.jsdelivr.net/gh/xrunes/vsc_md_preview_theme/style.css"
],如果你在中国,jsdelivr可能会被屏蔽,可以使用镜像代替,例如https://cdn.jsdmirror.cn/gh/xrunes/vsc_md_preview_theme/style.css
镜像站作者的博客
Currently, this CSS is only recommended for use the dark VSCode theme. Because in light themes, VSCode will automatically change elements such as fonts, scroll bars, and underlines to black. This CSS also has a dark background, which is extremely difficult to recognize. Therefore, it is not recommended. I am currently thinking of a solution.
目前仅推荐在深色(暗色)VSCode主题下使用本CSS。因为在浅色(亮色)主题下,VSCode会自动将字体、滚动条、下划线等元素改成黑色,本CSS也是暗色背景,极难辨认,故不推荐,正在想解决方法。
- markdown.styles only support positive path, DO NOT support absolute path. This is why I use online URL.
- Eferencing style.css through
https://raw.githubusercontent.com/xrunes/vsc_md_preview_theme/refs/heads/master/style.cssDO NOT work either. It seems Github don't support microsoft/vscode#8287 (comment)
