STEP 1
Tools->build system->new Build System
STEP 2 <img src= "https://pic3.zhimg.com/37243c718bd49b496f83ed8e61a4f876_b.jpg" data-rawwidth= "798" data-rawheight= "537" class= "Origin_image zh-lightbox-thumb" width= "798" data-original= "https://pic3.zhimg.com/ 37243c718bd49b496f83ed8e61a4f876_r.jpg ">
Use the Windows command to open the this file with default explorer
STEP 3 <img src= "https://pic3.zhimg.com/cc0a92650f3cd43d6c05e8e8ecfb51c2_b.jpg" data-rawwidth= "846" data-rawheight= "537" class= "Origin_image zh-lightbox-thumb" width= "846" data-original= "https://pic3.zhimg.com/ Cc0a92650f3cd43d6c05e8e8ecfb51c2_r.jpg ">
Save it in Package->user directory and switch the default build system
Add: After the configuration on the diagram is completed, press
ctrl+bYou can preview the HTML code with your default browser.
However, if the file name is in Chinese (or there is a non-ASC code) The preview will fail, perhaps Python 2 does not support Chinese. Original: http://zhufengdaaa.github.io/blog/2014/11/27/HTML-preview-tool/
Sublime text How do I set shortcut keys to write HTML files in a browser preview?