sublime text 安装markdown插件

ctl+shift+p输入install选择第一个Package Control: Install Package

安装插件Markdown Extended OmniMarkupPreviewer

要使.md格式的文件都使用Markdown Extended打开,步骤:View -> Syntax -> Open all with current extension as... -> Markdown Extended

若有如下报错:

'buffer_id(31) is not valid (closed or unsupported file format)'

**NOTE:** If you run multiple instances of Sublime Text, you may want to adjust
the `server_port` option in order to get this plugin work again.

解决方法:Sublime text -> Preferences -> Package Settings -> OmniMarkupPreviewer -> Settings - User

粘贴以下内容保存即可:

{
    "renderer_options-MarkdownRenderer": {
        "extensions": ["tables", "fenced_code", "codehilite"]
    }
}

评论

评论正在提交中...请稍后
评论提交成功...