sublime text 2 安装emmet插件

一.添加插件之前先 下载Package Control

按 Ctrl+`(就是~这个键) 复制下面的代码 确认 重新启动sublime text2

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())



二.添加zen coding ( emmet sublime text2 版的 zen coding)

按 ctr+shift+P,输入 install Package,找到emmet,确认安装

 
原文地址:https://www.cnblogs.com/qhorse/p/4835472.html