summaryrefslogtreecommitdiff
path: root/doc/plugins/write
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-13 17:25:04 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-13 17:25:04 +0000
commit7d6be3e5406b48047a47d2b7ea7acb471f9e5386 (patch)
treed7cb1525d5767c7b639b4192b0426363ae91d669 /doc/plugins/write
parent79e6dd9d9b2b51aad33e2af3ccb89f0e69343a36 (diff)
unescape
Diffstat (limited to 'doc/plugins/write')
-rw-r--r--doc/plugins/write/tutorial.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugins/write/tutorial.mdwn b/doc/plugins/write/tutorial.mdwn
index 2fc1c3e3f..bc1533f00 100644
--- a/doc/plugins/write/tutorial.mdwn
+++ b/doc/plugins/write/tutorial.mdwn
@@ -5,7 +5,7 @@ What should the plugin do? Let's make it calculate and output the Fibonachi
sequense. To output the next number in the sequence, all a user has to do
is write this on a wiki page:
- \[[fib ]]
+ [[fib ]]
When the page is built, that'll be replaced by the next number in the
sequence.
@@ -44,7 +44,7 @@ has shown up again. It doesn't actually have to match the module name this
time, but it generally will. This "fib" is telling ikiwiki what kind of
PreprocessorDirective to handle, namely one that looks like this:
- \[[fib ]]
+ [[fib ]]
Notice the `\&preprocess`? This is how you pass a reference to a function,
and the `preprocess` function is the one that ikiwiki will call to expand
@@ -98,7 +98,7 @@ And let's change the `preprocess` sub to use it:
Feel free to try it out with a simple page like this:
- \[[fib ]], \[[fib ]], \[[fib ]], \[[fib ]], \[[fib ]]
+ [[fib ]], [[fib ]], [[fib ]], [[fib ]], [[fib ]]
Looks like it works ok, doesn't it? That creates a page that lists: