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:
parent
79cf7e7292
commit
577cdcadb3
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