From 3d7888708c69728951e6e1555581e54e1e38e374 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 13 Nov 2016 14:21:34 -0800 Subject: [PATCH] Add multiline raw string example to readme (#109) --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56689f1..24fd680 100644 --- a/README.md +++ b/README.md @@ -173,15 +173,31 @@ string-with-slash = "\" 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 -raw-string = '\t\n\r\"\\' +escapes = '\t\n\r\"\\' + +line-breaks = 'hello +this +is + a + raw +string! +' ``` ```sh $ 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`: