Skip to content

Commit 1d8d4b6

Browse files
committed
Reword
1 parent f1ff3ca commit 1d8d4b6

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

templates.rst

+10-6
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ Twig: a flexible, fast, and secure template engine.
1010

1111
Starting from Symfony 5.0, PHP templates are no longer supported.
1212

13-
.. _twig-language:
13+
Installation
14+
------------
1415

15-
Twig Templating Language
16-
------------------------
16+
In applications using :ref:`Symfony Flex <symfony-flex>`, run the following command
17+
to install both Twig language support and its integration with Symfony applications:
18+
19+
.. code-block:: terminal
1720
18-
To intsall Twig, run:
21+
$ composer require symfony/twig-bundle
1922
20-
.. code-block:: bash
23+
.. _twig-language:
2124

22-
composer require symfony/twig-bundle
25+
Twig Templating Language
26+
------------------------
2327

2428
The `Twig`_ templating language allows you to write concise, readable templates
2529
that are more friendly to web designers and, in several ways, more powerful than

0 commit comments

Comments
 (0)