在 vscode 的官方文档中,
//-------- Markdown preview configuratin -------- // A list of URLs or local paths to CSS style sheets to use from the markdown preview. "markdown.styles": [],
修改这里应该是可以自定义一个 css 文件来修改 preview 的风格.
但是我试了好久, 没有成功.
.css
文件应该放在什么地方"markdown.styles": []
这里的中括号里面怎么写求指教!
![]() | 1 caoyue 2015-09-07 18:36:14 +08:00 我记得文档上好像有说是要放在你的 Workspace 目录下 |
![]() | 3 jecvay OP 已解决, 如果文件放在 `d:\vscode-markdown.css`则路径填写`file:///D:/vscode-markdown.css`即可 |
4 dikcen 2015-09-07 19:55:37 +08:00 在线的可以写成类似: // Place your settings in this file to overwrite the default settings { "markdown.styles": [ "https://jasonm23.github.io/markdown-css-themes/foghorn.css" ] } 这是从昨天看到一个 vscode 体验文章改的。可用 |