Add multiline raw string example to readme (#109)

This commit is contained in:
Casey Rodarmor 2016-11-13 14:21:34 -08:00 committed by GitHub
parent 1e7a0fa63b
commit 3d7888708c

View File

@ -173,15 +173,31 @@ string-with-slash = "\"
string-with-tab = " " string-with-tab = " "
``` ```
Single-quoted strings do not support any escape sequences: Single-quoted strings do not recognize escape sequences and may contain line breaks:
```make ```make
raw-string = '\t\n\r\"\\' escapes = '\t\n\r\"\\'
line-breaks = 'hello
this
is
a
raw
string!
'
``` ```
```sh ```sh
$ just --evaluate $ just --evaluate
raw-string = "\t\n\r\"\\" escapes = "\t\n\r\"\\"
line-breaks = "hello
this
is
a
raw
string!
"
``` ```
Recipes may have parameters. Here recipe `build` has a parameter called `target`: Recipes may have parameters. Here recipe `build` has a parameter called `target`: