安装包markdown editing 和markdown preview
在浏览器中进行预览的步骤如下:
- preference–> key bunding user 中输入
[
{"keys": ["alt+m"], "command": "markdown_preview", "args": { "target": "browser"}}
]
然后是设置语法高亮和mathjax支持
{
“font_size”: 13,
“ignored_packages”:
[
“Vintage”
],
/*
Enable or not mathjax support.
*/
“enable_mathjax”: true,
/*
Enable or not highlight.js support for syntax highlighting.
*/
“enable_highlight”: true,
}大功告成了!
现在,打开你的Sublime Text,编辑一个.md文件吧。然后按住alt + m ,预览你编辑的文件吧。
转自http://blog.csdn.net/marksinoberg/article/details/50993456