emmet
emmet copied to clipboard
Slim expanded class syntax
Is it possible to have emmet use the expanded class syntax in slim templates? At present, emmet 'expands' to slim using the short syntax
emmet: .foo.bar slim: .foo.bar
However, slim supports an expanded syntax using class attributes: emmet: .foo.bar slim: div class="foo bar"
Is this possible?
You can write [class="foo bar"]
to get desired output. But I'm not sure if you should use Emmet for Slim at all
Hi @sergeche , emmet would be great for slim if it could expand the class attribute as described. I don't use the shorter slim syntax anymore because I use tailwind for the styling and it's JIT compiler can't detect classes in the shorter syntax.