STEP 1
Tools->Build System->New Build System
STEP 2<img src="https://i-blog.csdnimg.cn/blog_migrate/7a66cdd2fa451ce75d92c930484a5b74.jpeg" data-rawwidth="798" data-rawheight="537" class="origin_image zh-lightbox-thumb" width="798" data-original="https://pic3.zhimg.com/37243c718bd49b496f83ed8e61a4f876_r.jpg">
Use windows command to open this file with default explorer
STEP 3<img src="https://i-blog.csdnimg.cn/blog_migrate/0c953ac0739b12d981f13afdb0235e01.jpeg" 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
补充:按图上配置完成之后 按 Ctrl+B 即可用你的默认浏览器预览 HTML 代码。
但是有一点,如果文件名是中文的(或者有非asc码)预览会失败,可能是 python 2 不支持中文。
原文:http://zhufengdaaa.github.io/blog/2014/11/27/HTML-preview-tool/