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):
479
479
.. code-block :: terminal
480
480
481
481
# 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
483
483
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
485
485
the entire email contents from Markdown to HTML:
486
486
487
487
.. code-block :: twig
488
488
489
- {% apply markdown %}
489
+ {% apply markdown_to_html %}
490
490
Welcome {{ email.toName }}!
491
491
===========================
492
492
You can’t perform that action at this time.
0 commit comments