aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-08-12 13:16:13 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-15 10:18:56 +0200
commit292cab039d7c2d1dc2e67f74a92dbf4953430935 (patch)
tree81112071e92d984676facb2da36047e207f25154 /doc
parentf165a8ae0874529f979a2bf33283300bb1ccdef4 (diff)
add multi-line string
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/src/language/index.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/manual/src/language/index.md b/doc/manual/src/language/index.md
index f601d1e16..8241cd0cd 100644
--- a/doc/manual/src/language/index.md
+++ b/doc/manual/src/language/index.md
@@ -43,6 +43,18 @@ the rest.
<td>
A string
</td>
+ <td>
+ ```
+ ''
+ multi
+ line
+ string
+ ''
+ ```
+ </td>
+ <td>
+ A multiline string. Strips common prefixed whitespace. Evaluates to `"multi\n line\n string"`.
+ </td>
</tr>
<tr>
<td>