shithub: werc

Download patch

ref: 90d4be6738a480e784f8e51caca2f287bbccc6bf
parent: 7bda47a66a5f8095cd5ad94af360c9d8312123aa
author: uriel <uriel@engel.se.cat-v.org>
date: Mon Jan 19 23:13:53 EST 2009

Start the rc template docs.

--- a/sites/werc.cat-v.org/docs/rc_template_lang.md
+++ b/sites/werc.cat-v.org/docs/rc_template_lang.md
@@ -1,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!