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!