Fix if-then-else example formatting
This commit is contained in:
1 parent
8a02b2c9c1
commit
048acee39b
1 file changed
+2
-3
@@ -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"']
|
||||
|
||||
|
||||
Reference in new issue
Block a user