Sorry, but do just not want to understand what I'm talking about? Your example doesn't show what you're saying it does.
In Python you can do this:
bar = "hello world"
template = t"<something foo={bar} />"
string = html(template)
This is
simply not possible in JS, because the template literal always must have the tag attached. You
can't split them apart. If you try:
const bar = "hello world"
const template = `<something foo=${bar} />`
you
already have a string in the `template` variable. There's no access to the individual values anymore. It's already done. It's a string. No template. You
can't pull apart the literal declaration and the tagging.
Are we now done with this ridiculous game of deliberate misunderstandings?