yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.93k stars 325 forks source link

Dark Theme ("Mode") for Markdown Preview. Please. Pretty please. #1254

Open PhillipRichdale opened 1 year ago

PhillipRichdale commented 1 year ago

I'd like the great Markdown All In One™ to also include a dark theme for the entire Markdown preview. After all, If I have to fiddle with an extra Markdown Preview Enhanced Extension and do config stunts to get that working it's not really "All In One" is it? nudge nudge :-)

Otherwise: Thanks for the work. Nice extension.

yzhang-gh commented 1 year ago

Thanks for the suggestion.

I tried to make the exported HTML has the same style as in VS Code. However, VS Code applies some custom styles that are not in any stylesheets so I cannot simply include them (https://github.com/yzhang-gh/vscode-markdown/issues/686#issuecomment-646918610)

Probably you can install a dark Markdown theme (e.g. Dark Github Markdown Preview and you may search for more) and then the stylesheets will be included in the HTML.


Just realized that you might not mean the HTML but the preview tab inside VS Code?