mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #10522 from ciupicri/doc-quotes
Doc: use literal code blocks for YAML examples
This commit is contained in:
commit
ede94dd7f8
1 changed files with 2 additions and 2 deletions
|
@ -85,11 +85,11 @@ That's all you really need to know about YAML to start writing
|
|||
Gotchas
|
||||
-------
|
||||
|
||||
While YAML is generally friendly, the following is going to result in a YAML syntax error:
|
||||
While YAML is generally friendly, the following is going to result in a YAML syntax error::
|
||||
|
||||
foo: somebody said I should put a colon here: so I did
|
||||
|
||||
You will want to quote any hash values using colons, like so:
|
||||
You will want to quote any hash values using colons, like so::
|
||||
|
||||
foo: "somebody said I should put a colon here: so I did"
|
||||
|
||||
|
|
Loading…
Reference in a new issue