Home > Development Tools > sublime > body text

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

藏色散人
Release: 2019-10-23 14:11:08
forward
3355 people have browsed it

The following column sublime tutorial will 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
Copy after login

Enable automatic reloading:

{
    "enable_autoreload": true
}
Copy after login

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 be md.

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!