Vscode-markdown: Print Theme Setting Non-functional

Created on 20 May 2020  ·  2Comments  ·  Source: yzhang-gh/vscode-markdown

What is the problem?

Print Theme is non-functional

How can I reproduce it?

Set print theme setting and generate HTML

"markdown.extension.print.theme": "dark"

Is there any error message in the console?


No errors present.

exporting Enhancement

Most helpful comment

Currently, this option only affects the _syntax highlight_ of fenced code blocks (#534).

The reason is that, by default, VSCode doesn't set a background color for the preview. The background color is inherited from the VSCode theme.

For now, you need to find a Markdown dark style file (CSS) and put it in markdown.styles option.

(related #686)

All 2 comments

Currently, this option only affects the _syntax highlight_ of fenced code blocks (#534).

The reason is that, by default, VSCode doesn't set a background color for the preview. The background color is inherited from the VSCode theme.

For now, you need to find a Markdown dark style file (CSS) and put it in markdown.styles option.

(related #686)

Thank you for getting back to me! I’ve tried this out and it appears to be working.

Was this page helpful?
0 / 5 - 0 ratings