From: smcv Date: Fri, 15 Apr 2016 14:37:43 +0000 (-0400) Subject: templates are another way to do this X-Git-Tag: 3.20160506~21^2~13 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/18c9d18b76aacb69e36ceab1a335b90e0083343c templates are another way to do this --- diff --git a/doc/todo/admonitions.mdwn b/doc/todo/admonitions.mdwn index 752eec336..2b777b3a5 100644 --- a/doc/todo/admonitions.mdwn +++ b/doc/todo/admonitions.mdwn @@ -56,4 +56,13 @@ bangs and all... > might use the right one?) could interpret an ad-hoc syntax and > turn it into a `
` either before or after `htmlize` processing. > However, that would be adding an extra layer of syntax for your -> users to keep track of. --[[smcv]] +> users to keep track of. +> +> [[templates|ikiwiki/directive/template]] are another way this could +> work: +> +> [[!template id=warning text="Do as I say, not as I do."]] +> +> There's a "note" template bundled with ikiwiki already. +> +> --[[smcv]]