Skip to content

Commit

Permalink
minor symfony#10084 Fix the YAML syntax highlighting (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.8 branch.

Discussion
----------

Fix the YAML syntax highlighting

In 3.4 this example doesn't show proper highlighting because of not wrapping some values with quotes. So let's fix it since 2.8, although it's not strictly necessary for 2.8.

Commits
-------

ebc31ed Fix the YAML syntax highlighting
  • Loading branch information
javiereguiluz committed Jul 18, 2018
2 parents a60873b + ebc31ed commit e8fe1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions console/request_context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ will override the defaults.
# app/config/parameters.yml
parameters:
router.request_context.host: example.org
router.request_context.scheme: https
router.request_context.base_url: my/path
router.request_context.host: 'example.org'
router.request_context.scheme: 'https'
router.request_context.base_url: 'my/path'
.. code-block:: xml
Expand Down

0 comments on commit e8fe1e8

Please sign in to comment.