Skip to content

Commit 146be89

Browse files
committed
Use html+twig twig html+twig twig 😵‍💫
1 parent 4b0e79c commit 146be89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A real-time product search component might look like this::
4242
}
4343
}
4444

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

4747
{# templates/components/ProductSearch.html.twig #}
4848
{# for the Live Component to work, there must be a single root element
@@ -2286,7 +2286,7 @@ To use this, add the ``lazy`` attribute to your component:
22862286
22872287
{{ component('SomeHeavyComponent', { lazy: true }) }}
22882288
2289-
.. code-block:: twig
2289+
.. code-block:: html+twig
22902290

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

0 commit comments

Comments
 (0)