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
You can use {{ by itself quite easily. If you are trying to document something like {{example}} you could always pass in the first two cur lies with your data.
orphaned curlies are easy {{
{{curly}}example}} curlies are harder
Some simple rendering:
var data = { 'curly' : '{{'},
tpl = $('#curly').html(),
html = Mustache.to_html(tpl, data);
document.write(html);
Results in:
orphaned curlies are easy {{
{{example}} curlies are harder
Here's the full working jsFiddle