I’ve researched about this a lot and there’s lit element package which does a great job but it defines its own syntax. let me explain what I want
html`<div>${myobj.getText({simple: true})}</div>`
this should start the basic html syntax after html
and a basic template literal expression syntax for javascript after ${
. the expression syntax should be popped with a top level (in the expression) curly brace ending }
since there can be a multiple curly braces. the same for the string itself - the last top level backtick should pop the html syntax.
but these should extend or use the default syntax definitions. I don’t want the highlighting change colors when I switch from default js syntax.
I think this should really be simple but I’m not familiar with this yaml synax definition stuff so can anyone help me on this?