How to output mustache templates in a twig template?

mustache, symfony

Solution

I think you are looking for the verbatim tag.

UPDATE for AlainTiemblo :

But what if you need to write `{% endverbatim %}` verbatim ? You must then resort to the least elegant method (you can't use verbatim anymore)

{{'twig code here{% endverbatim %}twig code there' }} 

If the twig code is big, do this:

{% verbatim %}
    twig code here
{% endverbatim %}
{{ '{% endverbatim %}' }}
{% verbatim %}
    twig code there
{% endverbatim %}

Problem

I need to add mustache templates to a Twig template using symfony2. Someone has created a 'verbatim' template tag for django and I'm looking for a corresponding one for twig that will prevent it from parsing the mustache elements. Can anyone point me in the right direction please? Thanks

Original source