Skip to content

Commit 396512e

Browse files
committed
Merge branch '5.0'
* 5.0: Update mailer.rst
2 parents b94ccd4 + 23275df commit 396512e

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
@@ -479,14 +479,14 @@ several popular libraries):
479479
.. code-block:: terminal
480480
481481
# instead of league/commonmark, you can also use erusev/parsedown or michelf/php-markdown
482-
$ composer require twig/markdown-extension league/commonmark
482+
$ composer require twig/markdown-extra league/commonmark
483483
484-
The extension adds a ``markdown`` filter, which you can use to convert parts or
484+
The extension adds a ``markdown_to_html`` filter, which you can use to convert parts or
485485
the entire email contents from Markdown to HTML:
486486

487487
.. code-block:: twig
488488
489-
{% apply markdown %}
489+
{% apply markdown_to_html %}
490490
Welcome {{ email.toName }}!
491491
===========================
492492

0 commit comments

Comments
 (0)