add more modes
This commit is contained in:
parent
d7501b5b1a
commit
82ee67d49b
10 changed files with 545 additions and 64 deletions
9
demo/kitchen-sink/docs/twig.twig
Normal file
9
demo/kitchen-sink/docs/twig.twig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% autoescape true %}
|
||||
{{ var }}
|
||||
{{ var|raw }} {# var won't be escaped #}
|
||||
{{ var|escape }} {# var won't be doubled-escaped #}
|
||||
{% endautoescape %}
|
||||
|
||||
{{ include('twig.html', sandboxed = true) }}
|
||||
|
||||
{{"string #{with} \" escapes" 'another#one' }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue