Mention how to escape {{
and }}
in readme (#353)
This commit is contained in:
parent
ad0d37a173
commit
3e181614d3
@ -224,6 +224,13 @@ publish:
|
||||
rm -rf {{tarball}} {{tardir}}
|
||||
```
|
||||
|
||||
To write a recipe containing `{{` or `}}`, use a string literal inside of `{{...}}`:
|
||||
|
||||
```make
|
||||
braces:
|
||||
echo 'I {{ "{{" }}LOVE{{ "}}" }} curly braces!'
|
||||
```
|
||||
|
||||
=== Strings
|
||||
|
||||
Double-quoted strings support escape sequences:
|
||||
|
Loading…
Reference in New Issue
Block a user