diff options
Diffstat (limited to 'underlays/basewiki/directive/fortune.mdwn')
-rw-r--r-- | underlays/basewiki/directive/fortune.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/underlays/basewiki/directive/fortune.mdwn b/underlays/basewiki/directive/fortune.mdwn new file mode 100644 index 000000000..36e0b5733 --- /dev/null +++ b/underlays/basewiki/directive/fortune.mdwn @@ -0,0 +1,14 @@ +The `fortune` directive is supplied by the [[!iki plugins/fortune]] plugin. + +This just uses the `fortune` program to insert a fortune into the page. +Usage: + + \[[!fortune ]] + +[[!if test="enabled(fortune)" then=""" +Here's a fortune for you: + +---- + +[[!fortune ]] +"""]] |