10000 reverted changes to use code-block directive in yaml example · symfony/symfony-docs@bdfebb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit bdfebb4

Browse files
author
gr8b
committed
reverted changes to use code-block directive in yaml example
1 parent 49e6f8b commit bdfebb4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/yaml.rst

+2-6
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ To use the delimiter line as part of the map dump, use the ``Yaml::DUMP_COMPACT_
448448

449449
Dump without flag set:
450450

451-
::
451+
.. code-block:: yaml
452452
453453
planets:
454454
-
@@ -460,11 +460,7 @@ Dump without flag set:
460460
461461
Dump with ``Yaml::DUMP_COMPACT_NESTED_MAPPING`` flag set:
462462

463-
::
464-
465-
$dumped = Yaml::dump(['planets' => $planets], 2, 0, Yaml::DUMP_COMPACT_NESTED_MAPPING);
466-
467-
::
463+
.. code-block:: yaml
468464
469465
planets:
470466
- name: Mercury

0 commit comments

Comments
 (0)
0