How do I set the shortcut key for Sublime text to preview the HTML file in the browser ?,
STEP 1
Tools> Build System> New Build System
STEP 2 & Lt; 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 "& gt;
Use windows command to open this file with default explorer
STEP 3 & Lt; 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 "& gt;
Save it in Package-> User directory and switch the default build system
Supplement: After the configuration is completed, press
Ctrl + BYou can use your default browser to preview HTML code.
However, if the file name is Chinese (or has a non-asc code), the preview will fail, probably because python 2 does not support Chinese. Original article: http://zhufengdaaa.github.io/blog/2014/11/27/HTML-preview-tool/