From 18c9d18b76aacb69e36ceab1a335b90e0083343c Mon Sep 17 00:00:00 2001 From: smcv Date: Fri, 15 Apr 2016 10:37:43 -0400 Subject: [PATCH] templates are another way to do this --- doc/todo/admonitions.mdwn | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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]] -- 2.39.5