From: spalax Date: Thu, 14 Apr 2016 16:43:32 +0000 (-0400) Subject: Document new feature. X-Git-Tag: 3.20160506~21^2~20 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/96e2315499db1c31c807013924eaa3faa7006f26 Document new feature. --- diff --git a/doc/plugins/contrib/compile.mdwn b/doc/plugins/contrib/compile.mdwn index 564f7f68c..7527f2698 100644 --- a/doc/plugins/contrib/compile.mdwn +++ b/doc/plugins/contrib/compile.mdwn @@ -91,6 +91,7 @@ using python-like string formatting, and described in the setup options section. advertised). - `template`: Name of the template to use (if set, the `source` option is irrelevant). +- `var_*`: Any argument with a name starting with ``var_`` is transmitted to the template. For instance, if directive has argument ``var_foo=bar``, then the template will have a variable named ``foo``, and ```` will be replaced by ``bar``. ### Extensions