Skip to content

Commit 340edb7

Browse files
committed
minor #1196 Fix error in TwigComponent documentation breaking the display of the … (Maelan LE BORGNE)
This PR was merged into the 2.x branch. Discussion ---------- Fix error in TwigComponent documentation breaking the display of the … …default config | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | | License | MIT Fix error in TwigComponent documentation breaking the display of the default config (see screenshot below) ![image](https://github.com/symfony/ux/assets/11990607/6e9534f4-bc36-4de6-98ce-a74f76607382) Commits ------- b4c4139 Fix error in TwigComponent documentation breaking the display of the default config
2 parents e29d5c2 + b4c4139 commit 340edb7

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)