summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/haiku.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive/haiku.mdwn')
-rw-r--r--ikiwiki/directive/haiku.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/ikiwiki/directive/haiku.mdwn b/ikiwiki/directive/haiku.mdwn
new file mode 100644
index 0000000..979f089
--- /dev/null
+++ b/ikiwiki/directive/haiku.mdwn
@@ -0,0 +1,15 @@
+The `haiku` directive is supplied by the [[!iki plugins/haiku desc=haiku]] plugin.
+
+This directive allows inserting a randomly generated haiku into a wiki page.
+Just type:
+
+ \[[!haiku hint="argument"]]
+
+[[!haiku hint="argument test"]]
+
+The hint parameter can be omitted, it only provides the generator a hint of
+what to write the haiku about. If no hint is given, it might base it on the
+page name. Since the vocabulary it knows is very small, many hints won't
+affect the result at all.
+
+[[!meta robots="noindex, follow"]]