I know how to use markdown-styles in settings to supply my own CSS for styling Markdown previews, but I don't know what elements and CSS classes to style. Are the ones used in Markdown preview documented somewhere?
Note that Toggle Developer Tools in the Help menu does not work for this — it does not drill down into the Preview's webview window.
From the documentation :
Working with Markdown files in Visual Studio Code is simple, straightforward, and fun. Besides Visual Studio Code's basic editing, there are a number of Markdown specific features that will help you be more productive.
Go through that documentation .
You can use vr8ce ’s helpful answer to find the source of the default stylesheet. On the Mac, this is the path:
/Applications/Visual\\ Studio\\ Code.app/Contents/Resources/app/extensions/markdown-language-features/media/markdown.css
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.