Fix invalid YAML in manual.yml
Grave accent "`" is a reserved indicator in YAML per http://www.yaml.org/spec/1.2/spec.html#id2774228, so it can't start a plain scalar. This commit applies quoting to titles beginning with grave accents. Signed-off-by: Nicolas Williams <nico@cryptonector.com>
This commit is contained in:
1 parent
f68815d5ad
commit
1d620c0de3
1 file changed
+3
-3
@@ -1637,7 +1637,7 @@ sections:
|
|||||||
input: 'true'
|
input: 'true'
|
||||||
output: ['"some exception"']
|
output: ['"some exception"']
|
||||||
|
|
||||||
- title: `?` operator
|
- title: "`?` operator"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
The `?` operator, used as `EXP?`, is shorthand for `try EXP`.
|
The `?` operator, used as `EXP?`, is shorthand for `try EXP`.
|
||||||
@@ -1821,7 +1821,7 @@ sections:
|
|||||||
input: '[10,2,5,3]'
|
input: '[10,2,5,3]'
|
||||||
output: ['20']
|
output: ['20']
|
||||||
|
|
||||||
- title: `limit(n; exp)`
|
- title: "`limit(n; exp)`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
The `limit` function extracts up to `n` outputs from `exp`.
|
The `limit` function extracts up to `n` outputs from `exp`.
|
||||||
@@ -1831,7 +1831,7 @@ sections:
|
|||||||
input: '[0,1,2,3,4,5,6,7,8,9]'
|
input: '[0,1,2,3,4,5,6,7,8,9]'
|
||||||
output: ['[0,1,2]']
|
output: ['[0,1,2]']
|
||||||
|
|
||||||
- title: `foreach`
|
- title: "`foreach`"
|
||||||
body: |
|
body: |
|
||||||
|
|
||||||
The `foreach` syntax is similar to `reduce`, but intended to
|
The `foreach` syntax is similar to `reduce`, but intended to
|
||||||
|
|||||||
Reference in new issue
Block a user