Open rafaellop opened 4 years ago
The cheat-sheet I use is https://docs.emmet.io/cheat-sheet/
The heavy lifting is currently done by :
"@emmetio/expand-abbreviation": "^0.6.0",
"@emmetio/snippets": "^0.2.9"
So these dependencies may be out of date, I'll have to verify newer versions
I don't know where the cheat-sheet takes its information from, but I can't find html:4
on VSCode:
Or the emmet repository itself on master
:
https://github.com/emmetio/emmet/blob/master/snippets/html.json#L148
I also don't know but the html:4s
is an alias for the !!!4s+doc4[lang=${lang}]
snippet which also doesn't work. However, it's not that bad. What would be super useful is the css support. It could work with a parameter like the -p
at the moment and execute a different module than the default html
.
BTW. Do you maybe know how could I get a single js file emmet library? I've used zen-coding.js
(the former version of the emmet) this way and I would like to upgrade, but can't find a minified and combined single .js. If you could advice :)
I've found your CLI very useful but also limited. For example some snippets from the emmetio cheat-sheet page doesn't work. Like for example almost all aliases doesn't work properly except e.g.
html:5
which is OK, but for examplehtml:4s
doesn't. The second is an alias of the snippet!!!4s+doc4[lang=${lang}]
and if I use the snippet directly, emmet-cli also produce incorrect output. But if I use the "html:5" alias snippet, which is!!!+doc[lang=${lang}]
it works. Are they hardcoded or the included emmetio libraries are old? Can you please help with that?Also an
emmet -v
could help a little if that would possible.