Skip to content Skip to sidebar Skip to footer

Generate Emmet Code From Html - Reverse Action

I am talking about Emmet.io (former Zen Coding). Is there JavaScript code or jQuery plugin that does that in reverse? Example: emmet('ul > li*3') => '
  • <

Solution 1:

HTML.js is what you're looking forhttp://nbubna.github.io/HTML/

Solution 2:

We have the Sizzle selector. And with the .size() I guess we might be able to achieve it.

Check this question (it seems similar): Reverse Zen Coding.

Post a Comment for "Generate Emmet Code From Html - Reverse Action"