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):
489
489
.. code-block :: terminal
490
490
491
491
# 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
493
493
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
495
495
the entire email contents from Markdown to HTML:
496
496
497
497
.. code-block :: twig
498
498
499
- {% apply markdown %}
499
+ {% apply markdown_to_html %}
500
500
Welcome {{ email.toName }}!
501
501
===========================
502
502
You can’t perform that action at this time.
0 commit comments