VS Code中修改Markdown Preview样式

2015-11-07  本文已影响3169人  mtobeiyf

微软推出的Visual Studio Code编辑器支持众多(编程)语言,自然就包括Markdown。

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" 
    ] 
}

修改之后:

StackEdit主题
上一篇 下一篇

猜你喜欢

热点阅读