summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorN <47500890+avi-cenna@users.noreply.github.com>2023-10-08 23:19:58 -0400
committerGitHub <noreply@github.com>2023-10-09 03:19:58 +0000
commitd17401e4b163c4e086c6a35b28c2f02058107513 (patch)
tree12425887ab3d4e355a0d5048cbeefb6ad1498167
parent0b9a599cea4a3cb5c63551883dea08bcac6e754c (diff)
Fix triple-quoted string example in readme (#1620)
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 069425e9..0725e28c 100644
--- a/README.md
+++ b/README.md
@@ -1035,7 +1035,7 @@ $ just --evaluate
escapes := "\t\n\r\"\\"
```
-Indented versions of both single- and double-quoted strings, delimited by triple single- or triple double-quotes, are supported. Indented string lines are stripped of leading whitespace common to all non-blank lines:
+Indented versions of both single- and double-quoted strings, delimited by triple single- or triple double-quotes, are supported. Indented string lines are stripped of a leading line break, and leading whitespace common to all non-blank lines:
```just
# this string will evaluate to `foo\nbar\n`
@@ -1044,7 +1044,7 @@ x := '''
bar
'''
-# this string will evaluate to `abc\n wuv\nbar\n`
+# this string will evaluate to `abc\n wuv\nxyz\n`
y := """
abc
wuv