]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/admonitions.mdwn
templates are another way to do this
[git.ikiwiki.info.git] / doc / todo / admonitions.mdwn
index 752eec3360857eb403a02a337cab5bf973a08682..2b777b3a580ccebe3c197a3a8c2889c35e20c7e9 100644 (file)
@@ -56,4 +56,13 @@ bangs and all...
 > might use the right one?) could interpret an ad-hoc syntax and
 > turn it into a `<div>` 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]]