summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2019-02-20 19:54:06 -0600
committerNico Williams <nico@cryptonector.com>2019-02-20 20:03:26 -0600
commit048acee39babe759d1db0f32f263857c27361746 (patch)
treea6527ee9fcccf9237f34e87a1f4dd56d4a70a3ad /docs
parent8a02b2c9c191015d8f1e5e27404e2682d76b6a91 (diff)
Fix if-then-else example formatting
Diffstat (limited to 'docs')
-rw-r--r--docs/content/3.manual/manual.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index 011218f8..150565b4 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -2062,14 +2062,13 @@ sections:
More cases can be added to an if using `elif A then B` syntax.
examples:
- - program: |-
- if . == 0 then
+ - program: 'if . == 0 then
"zero"
elif . == 1 then
"one"
else
"many"
- end
+ end'
input: 2
output: ['"many"']