CSS formatting in a custom tag


I searched around the forum and the web but I could not find an answer.

If I write some HTML with a <style> tag, I can get CSS formatting inside of it, working perfectly fine:


If I used a custom tag, it doesn't work (for instance with polymer):

    color: red;

I also have my own ploymer component for putting less css inline.

Is there a settings somewhere to say which HTML tag contains CSS / LESS / ... ?
Or maybe a plugin which can do that ?


Comment actions Permalink

Enable IntelliLang plugin, then position cursor in body of <core-tag> and choose "Inject Language/Reference" from intention list (light bulb) to inject "CSS" language.

Comment actions Permalink

Awesome, thanks !


Please sign in to leave a comment.