Skip to content

Commit

Permalink
reverted changes to use code-block directive in yaml example
Browse files Browse the repository at this point in the history
  • Loading branch information
gr8b committed Jan 4, 2025
1 parent 49e6f8b commit bdfebb4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/yaml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ To use the delimiter line as part of the map dump, use the ``Yaml::DUMP_COMPACT_

Dump without flag set:

::
.. code-block:: yaml
planets:
-
Expand All @@ -460,11 +460,7 @@ Dump without flag set:
Dump with ``Yaml::DUMP_COMPACT_NESTED_MAPPING`` flag set:

::

$dumped = Yaml::dump(['planets' => $planets], 2, 0, Yaml::DUMP_COMPACT_NESTED_MAPPING);

::
.. code-block:: yaml
planets:
- name: Mercury
Expand Down

0 comments on commit bdfebb4

Please sign in to comment.