Hi @jonsmithers, you made a really useful plugin here, thank you!
I would like to ask if it would be possible to activate the highlighting not only through the tagged template function call but also through an assignment to a custom variable. For example:
const html = `<div>Click</div>`
Many people don't use lit-html very frequently but make custom templates by assigning the html or css strings to variables first. In other words the pattern matching had to resolve to const html = instead of html`.
What do you think? Thanks you!