Skip to content

Commit 6db1feb

Browse files
committed
Showing new -extra Twig extension repos
1 parent b16f8eb commit 6db1feb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mailer.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ it with:
395395

396396
.. code-block:: terminal
397397
398-
$ composer require twig/cssinliner-extension
398+
$ composer require twig/extra-bundle twig/cssinliner-extra
399399
400-
The extension is enabled automatically. To use this, wrap the entire template
400+
The extension is enabled automatically. To use it, wrap the entire template
401401
with the ``inline_css`` filter:
402402

403403
.. code-block:: html+twig
@@ -497,14 +497,14 @@ the extension in your application:
497497

498498
.. code-block:: terminal
499499
500-
$ composer require twig/inky-extension
500+
$ composer require twig/extra-bundle twig/inky-extra
501501
502-
The extension adds an ``inky`` filter, which can be used to convert parts or the
503-
entire email contents from Inky to HTML:
502+
The extension adds an ``inky_to_html`` filter, which can be used to convert parts
503+
or the entire email contents from Inky to HTML:
504504

505505
.. code-block:: html+twig
506506

507-
{% apply inky %}
507+
{% apply inky_to_html %}
508508
<container>
509509
<row class="header">
510510
<columns>
@@ -521,7 +521,7 @@ You can combine all filters to create complex email messages:
521521

522522
.. code-block:: twig
523523
524-
{% apply inky|inline_css(source('@css/foundation-emails.css')) %}
524+
{% apply inky_to_html|inline_css(source('@css/foundation-emails.css')) %}
525525
{# ... #}
526526
{% endapply %}
527527

0 commit comments

Comments
 (0)