search
LoginSignup
4
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

updated at

OmniMarkupPreviewer 404 Not Found 解決法

Error: 404 Not Found

Sublime Text3 愛好家、ならびに Markdown 愛好家です。 OmniMarkupPreview の Preview Current Markup in Browser 機能は最高ですが Error: 404 Not Found が出ることがあります。

1.png

Error: 404 Not Found
Sorry, the requested URL 'http://127.0.0.1:51004/view/27' caused an error:

'buffer_id(27) 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.

解決法

OmniMarkupPreviewer.sublime-settings に markdown ライブラリのエクステンションを書き込みます。

2.png

OmniMarkupPreviewer.sublime-settings
{
    "renderer_options-MarkdownRenderer": {
        "extensions": [
            "markdown.extensions.tables",
            "markdown.extensions.fenced_code",
            "markdown.extensions.codehilite"
        ]
    }
}

↓ Work しました。

3.png

昔の解決法

これはもう使えません。

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

そも OmniMarkupPreviewer とは

Sublime Text3 で Markdown を書きながら、ブラウザでリアルタイムでプレビューを見ることができるパッケージです。すべての Markdown 愛好家に届け!

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
4
Help us understand the problem. What are the problem?