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 @@ -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
485485the 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
You can’t perform that action at this time.
0 commit comments