Skip to content

Commit e8121c5

Browse files
committed
Use html+twig twig html+twig twig 😵‍💫
1 parent facf1f1 commit e8121c5

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
@@ -37,7 +37,7 @@ A real-time product search component might look like this::
3737
}
3838
}
3939

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

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

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

0 commit comments

Comments
 (0)