mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 09:26:29 +00:00
added missing doc for the do tag
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
``do``
|
||||
======
|
||||
|
||||
.. versionadded:: 1.5
|
||||
The do tag was added in Twig 1.5.
|
||||
|
||||
The ``do`` tag works exactly like the regular variable expression (``{{ ...
|
||||
}}``) just that it doesn't print anything:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{% do 1 + 2 %}
|
||||
Reference in New Issue
Block a user