From 59243e8ce3996d6aee47ed11863efdaa184804aa Mon Sep 17 00:00:00 2001 From: Laurent VOULLEMIER Date: Mon, 30 Dec 2019 13:45:13 +0100 Subject: [PATCH] Minor fixes in docs --- doc/filters/format_currency.rst | 3 ++- doc/filters/html_to_markdown.rst | 2 +- doc/filters/number_format.rst | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/filters/format_currency.rst b/doc/filters/format_currency.rst index 3509391b8..8be71ac0f 100644 --- a/doc/filters/format_currency.rst +++ b/doc/filters/format_currency.rst @@ -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 diff --git a/doc/filters/html_to_markdown.rst b/doc/filters/html_to_markdown.rst index a9e6621ed..b60327197 100644 --- a/doc/filters/html_to_markdown.rst +++ b/doc/filters/html_to_markdown.rst @@ -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 diff --git a/doc/filters/number_format.rst b/doc/filters/number_format.rst index a7a55557d..9ee0c6d7f 100644 --- a/doc/filters/number_format.rst +++ b/doc/filters/number_format.rst @@ -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 -`: +`): .. code-block:: twig