Home>Article>Development Tools> Sublimetext 3 implements synchronous refresh of web page preview when editing markdown

Sublimetext 3 implements synchronous refresh of web page preview when editing markdown

藏色散人
藏色散人 forward
2019-10-23 14:11:08 3306browse

The following columnsublime tutorialwill introduce to you the method of Sublimetext 3 to synchronously refresh the web page preview when editing markdown. I hope it will be helpful to friends in need!

Sublimetext 3 implements synchronous refresh of web page preview when editing markdown

To achieve real-time preview of Markdown

First, you need to install two plug-ins. It is strongly recommended to use Package Control to install

Markdown Preview

● Ctrl Shift p, enter Install Package

● Enter Markdown Preview, press Enter to install

After successful installation, edit the Markdown Preview Configuration file

Preferences -> Package Settings -> Markdown Preview -> Settings - User

Enable automatic reloading:

{ "enable_autoreload": true }

Restart Sublime text

LiveReload

● Ctrl Shift p, enter Install Package

● Enter LiveReload, press Enter to install

After successful installation, Ctrl shift p again, enter LiveReload: Enable/disable plug-ins, press Enter, select Simple Reload with delay (400ms) , you can achieve real-time preview.

It is worth noting that the suffix of the file name to be edited must bemd.

The above is the detailed content of Sublimetext 3 implements synchronous refresh of web page preview when editing markdown. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete