10
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OmniMarkupPreviewer 404 Not Found 解決法

Last updated at Posted at 2020-03-13

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 愛好家に届け!

10
4
2

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
  3. You can use dark theme
What you can do with signing up
10
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?