Skip to content

Commit

Permalink
Update mailer.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
abdounikarim authored and javiereguiluz committed Feb 14, 2020
1 parent 1812a0c commit 70ab8bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -489,14 +489,14 @@ several popular libraries):
.. code-block:: terminal
# instead of league/commonmark, you can also use erusev/parsedown or michelf/php-markdown
$ composer require twig/markdown-extension league/commonmark
$ composer require twig/markdown-extra league/commonmark
The extension adds a ``markdown`` filter, which you can use to convert parts or
The extension adds a ``markdown_to_html`` filter, which you can use to convert parts or
the entire email contents from Markdown to HTML:

.. code-block:: twig
{% apply markdown %}
{% apply markdown_to_html %}
Welcome {{ email.toName }}!
===========================
Expand Down

0 comments on commit 70ab8bf

Please sign in to comment.