@@ -110,18 +110,25 @@ The current list of supported formats are the following:
110
110
=================== ==============================================================================
111
111
Markup Format Use It to Display
112
112
=================== ==============================================================================
113
- ``html `` HTML
114
- ``xml `` XML
115
- ``php `` PHP
116
- ``yaml `` YAML
117
- ``twig `` Pure Twig markup
118
- ``html+twig `` Twig markup blended with HTML
113
+ ``caddy `` Caddy web server configuration
114
+ ``env `` Bash files (like ``.env `` files)
119
115
``html+php `` PHP code blended with HTML
116
+ ``html+twig `` Twig markup blended with HTML
117
+ ``html `` HTML
120
118
``ini `` INI
121
119
``php-annotations `` PHP Annotations
122
120
``php-attributes `` PHP Attributes
123
- ``php-symfony `` PHP code example when using the Symfony framework
124
121
``php-standalone `` PHP code to be used in any PHP application using standalone Symfony components
122
+ ``php-symfony `` PHP code example when using the Symfony framework
123
+ ``php `` PHP
124
+ ``rst `` reStructuredText markup
125
+ ``terminal `` Renders the contents as a console terminal (use it to show which commands to run)
126
+ ``twig `` Pure Twig markup
127
+ ``varnish3 `` Varnish Cache 3 configuration
128
+ ``varnish4 `` Varnish Cache 4 configuration
129
+ ``vcl `` Varnish Configuration Language
130
+ ``xml `` XML
131
+ ``yaml `` YAML
125
132
=================== ==============================================================================
126
133
127
134
Displaying Tabs
@@ -190,21 +197,22 @@ If you want to modify that title, use this alternative syntax:
190
197
191
198
:doc:`environments`
192
199
193
- It is also possible to link to a specific section, instead of a whole page.
194
- First, define a target above section you will link to:
200
+ ** Links to specific page sections ** follow a different syntax. First, define a
201
+ target above section you will link to (syntax: `` .. _ `` + target name + `` : ``) :
195
202
196
203
.. code-block :: rst
197
204
198
205
# /service_container/autowiring.rst
199
206
200
- # Define the target
207
+ # define the target
201
208
.. _autowiring-calls:
202
209
203
210
Autowiring other Methods (e.g. Setters and Public Typed Properties)
204
211
-------------------------------------------------------------------
205
- [section content ...]
206
212
207
- Then create reference to link to that section from another file:
213
+ // section content ...
214
+
215
+ Then, use the ``:ref:: `` directive to link to that section from another file:
208
216
209
217
.. code-block :: rst
210
218
0 commit comments