Skip to content

Commit

Permalink
Use html+twig twig html+twig twig πŸ˜΅β€πŸ’«
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Feb 29, 2024
1 parent facf1f1 commit e8121c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ A real-time product search component might look like this::
}
}

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

{# templates/components/ProductSearch.html.twig #}
{# for the Live Component to work, there must be a single root element
Expand Down Expand Up @@ -2361,7 +2361,7 @@ To use this, add the ``lazy`` attribute to your component:
{{ component('SomeHeavyComponent', { lazy: true }) }}
.. code-block:: twig
.. code-block:: html+twig

<twig:Acme foo="bar" lazy />

Expand Down

0 comments on commit e8121c5

Please sign in to comment.