sublime text3 Emmet (原zenCoding)安裝方法sublime-text
sublime text3 Emmet (原zenCoding)安裝方法 1.安裝使用Package Control組件安裝 (1)打開控制檯 (mac)control+`; (win)ctrl+` (2)複製一下代碼並回車 import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) (3)重啓sublime text preferences -> Package Control若是有這一項說明 Package Control 安裝成功! package control 官網 https://packagecontrol.io/installation#st3 2.安裝Emmet (1)按鍵「ctrl+shift+p」,或者單擊菜單->工具->命令面板。 (2)打開了命令面板,輸入「pcip」(package control install package)四個單詞的首字母. (3)便可出現新的安裝package的面板,搜索emmet: