File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -395,9 +395,9 @@ it with:
395
395
396
396
.. code-block :: terminal
397
397
398
- $ composer require twig/cssinliner-extension
398
+ $ composer require twig/extra-bundle twig/ cssinliner-extra
399
399
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
401
401
with the ``inline_css `` filter:
402
402
403
403
.. code-block :: html+twig
@@ -497,14 +497,14 @@ the extension in your application:
497
497
498
498
.. code-block :: terminal
499
499
500
- $ composer require twig/inky-extension
500
+ $ composer require twig/extra-bundle twig/ inky-extra
501
501
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:
504
504
505
505
.. code-block :: html+twig
506
506
507
- {% apply inky %}
507
+ {% apply inky_to_html %}
508
508
<container>
509
509
<row class="header">
510
510
<columns>
@@ -521,7 +521,7 @@ You can combine all filters to create complex email messages:
521
521
522
522
.. code-block :: twig
523
523
524
- {% apply inky |inline_css(source('@css/foundation-emails.css')) %}
524
+ {% apply inky_to_html |inline_css(source('@css/foundation-emails.css')) %}
525
525
{# ... #}
526
526
{% endapply %}
527
527
You can’t perform that action at this time.
0 commit comments