Escaping Handlebars expressions for documentation



I need to document handlebars expressions and my the docs section is written in Ember too,

So, is there a way to escape handlebars expressions?

I tried backslashing such \\{

but then the output result is resulted with \\ too.

I can use & #125; but this makes my code super ugly.

Is there a way to write maybe a helper to read the template as a string before it’s being parsed? or other alternatives?



One backslash will escape a mustache inside of a template:


will output the string




Cool, I always tried two :blush: