Skip to content

Commit 70ab8bf

Browse files
abdounikarimjaviereguiluz
authored andcommitted
Update mailer.rst
1 parent 1812a0c commit 70ab8bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mailer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,14 +489,14 @@ several popular libraries):
489489
.. code-block:: terminal
490490
491491
# instead of league/commonmark, you can also use erusev/parsedown or michelf/php-markdown
492-
$ composer require twig/markdown-extension league/commonmark
492+
$ composer require twig/markdown-extra league/commonmark
493493
494-
The extension adds a ``markdown`` filter, which you can use to convert parts or
494+
The extension adds a ``markdown_to_html`` filter, which you can use to convert parts or
495495
the entire email contents from Markdown to HTML:
496496

497497
.. code-block:: twig
498498
499-
{% apply markdown %}
499+
{% apply markdown_to_html %}
500500
Welcome {{ email.toName }}!
501501
===========================
502502

0 commit comments

Comments
 (0)