jody_lognoul
jody_lognoul

Reputation: 817

Reverse expand with Emmet

I'm using Sublime Text and Emmet. And I was wandering if there is a way to convert some html code into emmet shortcuts? So to use Emmet in the other sens.

I didn't find anything on the web.

So from this :

<ul>
    <li><a href="#"><i class="fa fa-user"></i></a></li>
    <li><a href="#"><i class="fa fa-user"></i></a></li>
    <li><a href="#"><i class="fa fa-user"></i></a></li>
</ul>

to this:

ul>li*3>a>i.fa.fa-user

Thank you :)

Upvotes: 3

Views: 1280

Answers (2)

itconsul
itconsul

Reputation: 3

Now you can use the extension "Reverse Emmet" from github: https://github.com/jzmstrjp/brackets-reverse-emmet

Upvotes: 0

Sergey Chikuyonok
Sergey Chikuyonok

Reputation: 2691

No, currently it’s not possible. You can join the discussion for this feature request: https://github.com/emmetio/emmet/issues/93

Upvotes: 2

Related Questions