From cee8d01d9b64ba5a9d9116a8abdef01ff1aa648d Mon Sep 17 00:00:00 2001 From: Uriel Date: Tue, 20 Jan 2009 04:13:53 +0100 Subject: [PATCH] Start the rc template docs. --- sites/werc.cat-v.org/docs/rc_template_lang.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sites/werc.cat-v.org/docs/rc_template_lang.md b/sites/werc.cat-v.org/docs/rc_template_lang.md index e69de29..bb8432d 100644 --- a/sites/werc.cat-v.org/docs/rc_template_lang.md +++ b/sites/werc.cat-v.org/docs/rc_template_lang.md @@ -0,0 +1,12 @@ +Rc template language +==================== + +Implemented by Kris, thanks! + +Basic syntax: + +* Lines starting with % are executed as rc commands, the resulting output is inserted in the document. +* use %{ and %} to delimit multi line sections of rc code (note the lack of space between % and { or }! +* To 'inline' the value of an environment variable use `%($my_var%)` + +That is basically it!