From 70ab8bfb516beae0496d73fc8208b5fecd96f6f3 Mon Sep 17 00:00:00 2001 From: Abdouni Abdelkarim Date: Thu, 13 Feb 2020 19:50:08 +0100 Subject: [PATCH] Update mailer.rst --- mailer.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mailer.rst b/mailer.rst index 59d5354ec36..294895b129c 100644 --- a/mailer.rst +++ b/mailer.rst @@ -489,14 +489,14 @@ several popular libraries): .. code-block:: terminal # instead of league/commonmark, you can also use erusev/parsedown or michelf/php-markdown - $ composer require twig/markdown-extension league/commonmark + $ composer require twig/markdown-extra league/commonmark -The extension adds a ``markdown`` filter, which you can use to convert parts or +The extension adds a ``markdown_to_html`` filter, which you can use to convert parts or the entire email contents from Markdown to HTML: .. code-block:: twig - {% apply markdown %} + {% apply markdown_to_html %} Welcome {{ email.toName }}! ===========================