How does one use a literal "{{" in a Mustache template?
On a side note, if I'm using custom tags, like <%
and %>
, is there a way to write "<%"?
Theoretically, I could use different tags, but I have too much code written using {{
and }}
to change it all.
Just change the delimiters temporarily:
{{=<% %>=}}
{{Look at the curlies!}}
<%={{ }}=%>