werc/sites/werc.cat-v.org/docs/rc_template_lang.md

13 lines
387 B
Markdown
Raw Normal View History

2009-01-19 20:13:53 -07:00
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!