File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
495495the 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
You can’t perform that action at this time.
0 commit comments