Showing posts with label Sublime Text 3. Show all posts
Showing posts with label Sublime Text 3. Show all posts

Monday, April 2, 2018

How to install Zen Coding (now called Emmet) with Sublime Text 3

Hello,
Now I'm going to tell the full instruction of how to add Emmet on Sublime Text 3.

1st we have to install package controller.
go to https://packagecontrol.io/installation and collect code
I'm using Sublime Text 3
My code:
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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)

2nd open Sublime Text 3. go to view > show consol 




3rd past that code and pass enter.

4th close this Sublime Text 3 application and open it again

5th after open Sublime Text 3 again go to tools and open command palette see


6th type inatall package and chick on it see


7th type emmet and click on it.




last you can see this page



8th restart sublime text 3 again.

Now you can enjoy your code. Type html:5 and ctrl + e !!!