From 181638498d25bbb2dd2bbab40d3142766de7e55a Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Mon, 6 Mar 2017 21:02:42 -0500 Subject: Allow overriding the template delimiters Signed-off-by: Dave Henderson --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') 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` -- cgit v1.2.3