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 19, 2024
1 parent 4b0e79c commit 146be89
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 @@ -42,7 +42,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 @@ -2286,7 +2286,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 146be89

Please sign in to comment.