You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to override this by finding and copying the theme you like into your project and referencing the file with markdown.styles settings. This work but it's not easy/intuitive and it does not actually remove the tomorrow rules/stylesheet from the document (which can provide some unwanted defaults).
I suggest that you make the default theme easily changeable with a new settings, maybe markdown.highlightStyle: "tomorrow" and support all the hightlight.js built-in styles.
BTW I think tomorrow is a very colorful choice for a default settings, but that's just my taste.
The text was updated successfully, but these errors were encountered:
Issue microsoft#9136
Allows users to specify which highlight.js theme they would like to use for the markdown preview. These themes are bundled in highlight.js.
closesmicrosoft#9136
mjbvz
added a commit
to mjbvz/vscode
that referenced
this issue
Oct 25, 2016
Issue microsoft#9136
Allows users to specify which highlight.js theme they would like to use for the markdown preview. These themes are bundled in highlight.js.
closesmicrosoft#9136
Sorry, I don't have the time to look into VS Code extensions, although that looks like an exciting area.
If I had more time, I would surely try to add AsciiDocs support. There are some extensions in the market place but only one supports preview and it needs a globally installed Python AsciiDoctor, even though a perfectly fine AsciiDoctor.js exists!?
I've recently come to love AsciiDocs as a much better LML than Markdown.
The markdown extension uses
highlight.js
for code highlighting, which comes with many themes inside itsstyles
folder.Yet, the default theme (
tomorrow.css
) is hardcoded here:https://github.com/Microsoft/vscode/blob/master/extensions/markdown/src/extension.ts#L237
It is possible to override this by finding and copying the theme you like into your project and referencing the file with
markdown.styles
settings. This work but it's not easy/intuitive and it does not actually remove thetomorrow
rules/stylesheet from the document (which can provide some unwanted defaults).I suggest that you make the default theme easily changeable with a new settings, maybe
markdown.highlightStyle: "tomorrow"
and support all the hightlight.js built-in styles.BTW I think
tomorrow
is a very colorful choice for a default settings, but that's just my taste.The text was updated successfully, but these errors were encountered: