Skip to content

Commit

Permalink
Add missing RST directive
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Dec 7, 2024
1 parent 1ca562f commit c99a6ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ The only limitation when defining contents inside a component using the HTML syn
is that you cannot import macros using the ``_self`` keyword. You must always use
the full template path:

.. code-block:: html+twig

<twig:Alert>
{# ❌ this won't work #}
{% from _self import message_formatter %}
Expand Down

0 comments on commit c99a6ed

Please sign in to comment.