1``filter``
2==========
3
4Filter sections allow you to apply regular Twig filters on a block of template
5data. Just wrap the code in the special ``filter`` section:
6
7.. code-block:: jinja
8
9    {% filter upper %}
10        This text becomes uppercase
11    {% endfilter %}
12
13You can also chain filters and pass arguments to them:
14
15.. code-block:: jinja
16
17    {% filter lower|escape('html') %}
18        <strong>SOME TEXT</strong>
19    {% endfilter %}
20
21    {# outputs "&lt;strong&gt;some text&lt;/strong&gt;" #}
22