微软推出的Visual Studio Code编辑器支持众多(编程)语言,自然就包括Markdown。
那么如何修改其Preview的样式呢?
首先,打开User Settings,
添加本地CSS样式:
// Place your settings in this file to overwrite the default settings
{
"markdown.styles": [
"file:///D:/user.css"
]
}
添加在线CSS
// Place your settings in this file to overwrite the default settings
{
"markdown.styles": [
"https://jasonm23.github.io/markdown-css-themes/foghorn.css"
]
}
修改之后: