mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #10171 from brianpeiris/patch-1
Reformat and clarify YAML syntax descriptions
This commit is contained in:
commit
01d3dc2e9d
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ Ansible or not) should begin with ``---``. This is part of the YAML
|
||||||
format and indicates the start of a document.
|
format and indicates the start of a document.
|
||||||
|
|
||||||
All members of a list are lines beginning at the same indentation level starting
|
All members of a list are lines beginning at the same indentation level starting
|
||||||
with a ``"- "`` (dash and whitespace) character::
|
with a ``"- "`` (a dash and a space)::
|
||||||
|
|
||||||
---
|
---
|
||||||
# A list of tasty fruits
|
# A list of tasty fruits
|
||||||
|
@ -34,7 +34,7 @@ with a ``"- "`` (dash and whitespace) character::
|
||||||
- Strawberry
|
- Strawberry
|
||||||
- Mango
|
- Mango
|
||||||
|
|
||||||
A dictionary is represented in a simple ``key: `` (colon and whitespace) and ``value`` form::
|
A dictionary is represented in a simple ``key: value`` form (the colon must be followed by a space)::
|
||||||
|
|
||||||
---
|
---
|
||||||
# An employee record
|
# An employee record
|
||||||
|
|
Loading…
Add table
Reference in a new issue