Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Sep 3, 2024
1 parent 23a1c87 commit b2a8ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1590,9 +1590,9 @@ Nested Components
It's totally possible to include components as part of the contents of another
component. When you do this, all components render independently. The only
caveat is that you cannot mix the Twig syntax and the :ref:`HTML syntax <component_html_syntax>`
when using a component:
when using nested components:

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

{# ❌ this won't work because it mixes different syntaxes #}
<twig:Card>
Expand Down

0 comments on commit b2a8ab7

Please # to comment.