Fork me on github

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,确认安装

 
posted @ 2015-09-24 15:26  Champion-水龙果  阅读(172)  评论(0编辑  收藏  举报
Champion-水龙果