Skip to content

Commit 09c72f6

Browse files
committed
minor #13128 Update mailer.rst (abdounikarim)
This PR was submitted for the 5.0 branch but it was squashed and merged into the 4.4 branch instead (closes #13128). Discussion ---------- Update mailer.rst Hello, The `twig/markdown-extension` is no longer used 😉 We actually use `twig/markdown-extra` instead. Commits ------- 70ab8bf Update mailer.rst
2 parents 1812a0c + 70ab8bf commit 09c72f6

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)