Why not use ECMA literals for templating?
Does one even need a templating function - could we use ECMA literals in Javascript directly. See:
Template literals (Template strings) - JavaScript | MDN
Generally my thoughts are it is probably not a good choice. It’s suffering from Avoid hard coding solutions to problems you cannot understand.
The committees putting this feature together haven’t understand the need for templating enough.
The syntax for including variables into the template is obscure and would encourage a lack of separation of concerns.