sublime插件OmniMarkupPreviewer出现buffer_id(28) is not valid错误解决办法
sublime的插件OmniMarkupPreviewer
提供markdown编辑时实时预览功能,但是今天在打开预览时出现如下错误:'buffer_id(28) is not valid (closed or unsupported file format)'
查询得知解决办法如下:
Quick Fix 1: Remove Strikethrough Extension
Sublime Text > Preferences > Package Settings > OmniMarkupPreviewer > Settings - User
粘贴如下代码
{
"renderer_options-MarkdownRenderer": {
"extensions": ["tables", "fenced_code", "codehilite"]
}
}
Quick Fix 2: Fix the Strikethrough Extension (if you need it)
Find the python-markdown sublime package.
On the Mac: subl "/Users/<username>/Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/mdx_strikeout.py"
Replace the makeExtension()
method with the following:
def makeExtension(*args, **kwargs):
return StrikeoutExtension(*args, **kwargs)
Save, quit and reload Sublime Text.
如果您觉得本文对您有用,欢迎捐赠或留言~
- 本博客所有文章除特别声明外,均可转载和分享,转载请注明出处!
- 本文地址:https://www.leevii.com/?p=2264