feat(filter): Support filter tag

This commit is contained in:
Kyle Fuller
2016-11-30 18:44:44 +00:00
parent 2ebb79df8b
commit 2be672c6a5
6 changed files with 91 additions and 0 deletions

View File

@@ -177,6 +177,26 @@ Will be treated as:
``now``
~~~~~~~
``filter``
~~~~~~~~~~
Filters the contents of the block.
.. code-block:: html+django
{% filter lowercase %}
This Text Will Be Lowercased.
{% endfilter %}
You can chain multiple filters with a pipe (`|`).
.. code-block:: html+django
{% filter lowercase|capitalize %}
This Text Will First Be Lowercased, Then The First Character Will BE
Capitalised.
{% endfilter %}
``include``
~~~~~~~~~~~