Despite their name, template strings in ECMAScript 6 (ES6) are more like a different kind of function call than a mechanism for defining templates. This blog post explains how you can still use them for HTML templating. It is based on an idea by Claus Reinke. If you are not familiar with ES6 template strings, you may want to consult [1] before reading on. Defining and using a template # You defin