zoukankan      html  css  js  c++  java
  • 404 error on preview ... "buffer_id(29) is not valid (closed or unsupported file format)"

    利用sublime text2的插件OmniMarkupPreview进行md文件预览时,出现如下错误

    "Error: 404 Not Found
    Sorry, the requested URL 'http://127.0.0.1:51004/view/29' caused an error:
    
    'buffer_id(29) is not valid (closed or unsupported file format)'

    快速修复方法

    Quick Fix 1: Remove Strikethrough Extension
    
    Sublime Text > Preferences > Package Settings > OmniMarkupPreviewer > Settings - User
    paste the following to remove the strikeout package.
    
    {
        "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.

    原问题链接

  • 相关阅读:
    cg数据类型
    线程和流的历史遗留
    流的总结及小问题

    集合练习
    集合属性的整理
    集合
    整理
    面向对象中知识的薄弱点
    自己的小问题和数组常用的方法
  • 原文地址:https://www.cnblogs.com/zjx2011/p/6288474.html
Copyright © 2011-2022 走看看