summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2017-03-06 21:02:42 -0500
committerDave Henderson <dhenderson@gmail.com>2017-03-06 21:06:01 -0500
commit181638498d25bbb2dd2bbab40d3142766de7e55a (patch)
treed37fe02a918235cc00c375de394c4789514ccc03 /README.md
parent2adb96bdc7261389ddde0408fd9e6b689c73adc0 (diff)
Allow overriding the template delimiters
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index a9c6a41d..4bf8254d 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ Gomplate is an alternative that will let you process templates which also includ
- [Usage](#usage)
- [Commandline Arguments](#commandline-arguments)
- [`--datasource`/`-d`](#-datasource-d)
+ - [Overriding the template delimiters](#overriding-the-template-delimiters)
- [Syntax](#syntax)
- [About `.Env`](#about-env)
- [Built-in functions](#built-in-functions)
@@ -191,6 +192,11 @@ A few different forms are valid:
- `mydata.json`
- This form infers the name from the file name (without extension). Only valid for files in the current directory.
+#### Overriding the template delimiters
+
+Sometimes it's necessary to override the default template delimiters (`{{`/`}}`).
+Use `--left-delim`/`--right-delim` or set `$GOMPLATE_LEFT_DELIM`/`$GOMPLATE_RIGHT_DELIM`.
+
## Syntax
### About `.Env`