diff --git a/src/TwigComponent/doc/index.rst b/src/TwigComponent/doc/index.rst index 72e93491acb..45e3d00a13b 100644 --- a/src/TwigComponent/doc/index.rst +++ b/src/TwigComponent/doc/index.rst @@ -306,7 +306,7 @@ want to render on the root element: -To pass an array of attributes, use `{{...}}` spread operator syntax. +To pass an array of attributes, use ``{{...}}`` spread operator syntax. This requires Twig 3.7.0 or higher: .. code-block:: html+twig