Skip to content

Commit 23275df

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update mailer.rst
2 parents e47a7da + 09c72f6 commit 23275df

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)