ember-twiddle
ember-twiddle copied to clipboard
Emmet support for templates and styles.
Hi, thanks for the great tool.
I would like to suggest feature which i currently really missing - it is Emmet support e.g. when you write
ul>li*3>{$$$} in html or c#000 in styles
in jsbin or codepen
such construction after hitting tab will expand to
<ul>
<li>001</li>
<li>002</li>
<li>003</li>
<li>004</li>
<li>005</li>
</ul>
and
color: #000000;
respectively.
this sounds doable using a code mirror plugin. Not a first-prio thing IMO but nice to have.
This would be extremely nice to have :) (apologies for the +1)
It looks like it would be quite simple actually https://github.com/emmetio/codemirror
In one of my app I added emmet to codemirror with simply overwrite the ivy-codemirror component. I tried to extract this logic in an addon, but unfortunately this trick doesn't work with the addon. Maybe you have some idea. https://github.com/zoltan-nz/ember-emmet-codemirror/commit/168d1e3f26f8498ab489e30d6e3120d748dd191e