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') => '<ul><li></li><li></li><li></li></ul>'
I want something like this:
emmet('<ul><li></li><li></li><li></li></ul>') => 'ul > li*3'
.size()
I guess we might be able to achieve it. Check this question (it seems similar): https://mcmap.net/q/1919934/-reverse-zen-coding. – Kasper