aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/admonitions.mdwn
diff options
context:
space:
mode:
authorsmcv <smcv@web>2016-04-15 10:37:43 -0400
committeradmin <admin@branchable.com>2016-04-15 10:37:43 -0400
commit18c9d18b76aacb69e36ceab1a335b90e0083343c (patch)
tree4d4eefe46be8119dfbe6df54982f48f214ca0308 /doc/todo/admonitions.mdwn
parent7493b4015bce9a907db81b133162c05faeac3b02 (diff)
downloadikiwiki-18c9d18b76aacb69e36ceab1a335b90e0083343c.tar
ikiwiki-18c9d18b76aacb69e36ceab1a335b90e0083343c.tar.gz
templates are another way to do this
Diffstat (limited to 'doc/todo/admonitions.mdwn')
-rw-r--r--doc/todo/admonitions.mdwn11
1 files changed, 10 insertions, 1 deletions
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 `<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]]