It seems that template string literal is not yet supported. Could we have this convenient feature in a future release? Thanks!
Forum › Feature requests
JavaScript template string literal
We have added support for template literals (and String.raw) in the latest build. (Note: this is the same latest build that includes support for the ES6 startsWith() and endsWith() string methods.)
Edited by adrianwong
Confirmed - template literals not working in Prince 15.4.1, but working in Prince 20241030, which is, I believe, latest build as of now. Downloaded from https://www.princexml.com/latest/.
Pretty sure template literals were implemented after the release of Prince 15. We typically do not include new JS features in point releases, so template literals will be only be available in Prince 16 outside of latest builds.