标签:
比如想在html写 jquery 直接添加jquery地址,打开 ‘首选项->Package Setting->Emmet->Settings - User’,
css也可以如法炮制,代码如下
{ "syntaxProfiles": { // Enable XHTML dialect for HTML syntax "html": "xhtml" }, "snippets": { "html": { "abbreviations": { "jquery": "<script src=‘http://localhost/static/js/jquery.js‘></script>" } }, "css": { "filters": "html", "snippets": { "csdn":"taodesign.cnblogs.com" } } } }
sublime text 3 的emmet 添加自定义 html 片段
标签:
原文地址:http://www.cnblogs.com/taodesign/p/4226819.html