Emmet – a plugin for text editors which improves HTML and CSS workflow
emmet.io
emmet.io
A tip for those wanting to create hiccup[1] using emmet-mode on emacs:
div>ol.count>li.item*6
Gives: <div>
<ol class="count">
<li class="item"></li>
<li class="item"></li>
<li class="item"></li>
</ol>
</div>
Now, if you suffix it with a |hic div>ol.count>li.item*6|hic
Then you get beautiful hiccup! [:div
[:ol.count
[:li.item]
[:li.item]
[:li.item]]]
[1] http://hiccup.spaceIn vim, you just visual mode select and use the same Emmet key combo as the default expand.
In emacs there is a "wrap-with-markup" function you can bind yourself.
Try it!
I've perused the site, but didn't see anything on expanding to a pre-processor. Does anyone know if that's possible?
Writing HTML is a joy with it!