mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-08 00:17:29 +00:00
Minor fixes in docs
This commit is contained in:
committed by
Fabien Potencier
parent
bf9544515e
commit
59243e8ce3
@@ -70,5 +70,6 @@ By default, the filter uses the current locale. You can pass it explicitly:
|
||||
Arguments
|
||||
---------
|
||||
|
||||
* ``locale``: The locale
|
||||
* ``currency``: The currency
|
||||
* ``attrs``: A map of attributes
|
||||
* ``locale``: The locale
|
||||
|
||||
@@ -36,7 +36,7 @@ You can also use the filter on an included file:
|
||||
|
||||
.. note::
|
||||
|
||||
The ``markdown_to_html`` filter is part of the ``MarkdownExtension`` which
|
||||
The ``html_to_markdown`` filter is part of the ``MarkdownExtension`` which
|
||||
is not installed by default. Install it first:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
@@ -17,7 +17,7 @@ separator using the additional arguments:
|
||||
|
||||
To format negative numbers or math calculation, wrap the previous statement
|
||||
with parentheses (needed because of Twig's :ref:`precedence of operators
|
||||
<twig-expressions>`:
|
||||
<twig-expressions>`):
|
||||
|
||||
.. code-block:: twig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user