aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/fortune.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:41:07 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-23 05:41:07 +0000
commit9d7375c3b263e77da29a5db22af480db8b99d990 (patch)
tree8cb9407a3893060b7868d8960db3ce0759092c2e /doc/plugins/fortune.mdwn
parent78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 (diff)
downloadikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar
ikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar.gz
* Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside. * Add a template plugin. * Use the template plugin to add infoboxes to each plugin page listing basic info about the plugin.
Diffstat (limited to 'doc/plugins/fortune.mdwn')
-rw-r--r--doc/plugins/fortune.mdwn7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn
index f4c45a921..65aa355cd 100644
--- a/doc/plugins/fortune.mdwn
+++ b/doc/plugins/fortune.mdwn
@@ -1,14 +1,13 @@
+[[template id=plugin name=fortune included=1 author="""[[Joey]]"""]]
+[[tag type/fun]]
+
This just uses the `fortune` program to insert a fortune into the page.
Usage:
\[[fortune ]]
-This plugin is included in ikiwiki, but not enabled by default.
-
If this plugin is enabled, here's a fortune for you:
----
[[fortune ]]
-
-[[tag type/fun]]