Sidebar

Can you use javascript templating in Qvera?

0 votes
288 views
asked Nov 21, 2018 by (140 points)

I was wondering if you can use the template literal ` along with ${variable} in Qvera like you can in Javascript. When I tried it myself it appeared to be fine untill I went to close the node and save it. The back-tick is unexpected but the IDE colors the sections as string and lists the variables in correct coloring when in the ${}.  As seen below.


 

1 Answer

0 votes
Your code looks like it would work if you replace the "backquote" (quote key on us keyboard with the Tildy) with a single quote (the key with both the single and double quote).
answered Nov 21, 2018 by gary-t-8719 (14,860 points)
...