當我在sublime 使用OmniMarkupPreviewer預覽markdown文件時侦香,報了下面的錯誤
Error: 404 Not Found
Sorry, the requested URL'http://127.0.0.1:51005/view/28'caused an error:
'buffer_id(28) 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"]
? ? ? ? ? ? ? ? ?}
}