Skip to content

Commit b4c4139

Browse files
Fix error in TwigComponent documentation breaking the display of the default config
1 parent e29d5c2 commit b4c4139

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ file to control the template directory for your components:
6363

6464
.. _default_config:
6565

66-
```
67-
# config/packages/twig_component.yaml
68-
twig_component:
69-
anonymous_template_directory: 'components/'
70-
defaults:
71-
# Namespace & directory for components
72-
App\Twig\Components: 'components/'
73-
```
66+
.. code-block:: yaml
67+
68+
# config/packages/twig_component.yaml
69+
twig_component:
70+
anonymous_template_directory: 'components/'
71+
defaults:
72+
# Namespace & directory for components
73+
App\Twig\Components: 'components/'
7474
7575
Component Basics
7676
----------------

0 commit comments

Comments
 (0)