1.安裝sublime text3git
下載地址:http://www.sublimetext.com/3github
2.打開sublime text3,Ctrl+~,在其中輸入(注意不要改變輸入內容)app
import urllib.request,os,sys; exec("if sys.version_info < (3,) or os.name != 'nt': raise OSError('This code is for Windows ST3 only!')"); pr='Preferences.sublime-settings'; ip='ignored_packages'; n='Package Control'; s=sublime.load_settings(pr); ig=s.get(ip); ig.append(n); s.set(ip,ig); sublime.save_settings('Preferences.sublime-settings'); pf=n+'.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); by=urllib.request.urlopen('https://packagecontrol.io/'+pf.replace(' ','%20')).read(); open(os.path.join(sublime.installed_packages_path(),pf),'wb').write(by); ig.remove(n); s.set(ip,ig); sublime.save_settings(pr); print('Package Control: 3.0.0 upgrade successful!')ui
這時sublime text3-->Preferences下有Package Control以及Package Setting。而且點擊sublime text3-->Preferences-->Package Control顯示如下:url
3.打開sublime text3-->Preferences-->Package Control-->Package Control:Install Package,須要一小會,等安裝完,關閉sublime text3。code
安裝完成後會顯示爲blog
4.在其中輸入Emmet Css Snippet,點擊安裝。ip
5.重複步驟3,在其中輸入Emmet,點擊安裝。這裏會自動安裝PyV8,但不必定能自動下載得了,所以能夠到https://github.com/emmetio/pyv8-binaries下載,解壓並保存到PyV8文件夾中,將此文件夾拷貝到sublime text3-->Browse Packages打開的Packages以及向上能找到的Installed Packages文件夾下。v8
這樣就可使用了,輸入div.text>div.left+div.right試試……rem