📜 ⬆️ ⬇️

Emmet v1.0 released

I am glad to announce that after more than half a year of development Emmet (formerly Zen Coding) v1.0 has been released.

Emmet is a tool to speed up your work with HTML and CSS. The project is based on the mechanism of dynamic abbreviations that are understood “on the fly” and from which a ready-made code fragment is generated. The abbreviations are written using syntax similar to CSS selectors, but with some additions specific to generating code. For example, here is an abbreviation:

section>h2+ul.nav>li.nav-item$*5>a 

a simple keystroke turns into:
')
 <section> <h2></h2> <ul class="nav"> <li class="nav-item1"><a href=""></a></li> <li class="nav-item2"><a href=""></a></li> <li class="nav-item3"><a href=""></a></li> <li class="nav-item4"><a href=""></a></li> <li class="nav-item5"><a href=""></a></li> </ul> </section> 


But for convenient work with the code, you need not only to be able to write it quickly, but also to edit already existing code. Emmet offers a variety of actions that simplify working with existing code: selecting a pair of tags , quickly navigating to edit points , commenting on a tag, and much more .

As noted above, Emmet is the new name for the Zen Coding project, previously mentioned on Habré . With the new name, the project received a new life and new opportunities:


I also release several additional projects that were created while working on Emmet:


Source code and plugins are available in a special repository . If you find errors or have any suggestions for improvement, I will be glad to know about them in the Issues section.

Source: https://habr.com/ru/post/170565/


All Articles