mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Doc: use literal code blocks for YAML examples
Without this, the straight double quotes (") are displayed as curved
quotes (“ and ”).
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user