Skip to content

Commit c99a6ed

Browse files
committed
Add missing RST directive
1 parent 1ca562f commit c99a6ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ The only limitation when defining contents inside a component using the HTML syn
369369
is that you cannot import macros using the ``_self`` keyword. You must always use
370370
the full template path:
371371

372+
.. code-block:: html+twig
373+
372374
<twig:Alert>
373375
{# ❌ this won't work #}
374376
{% from _self import message_formatter %}

0 commit comments

Comments
 (0)