X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d6fd1f1cc878b5dffdfae30f6dfee77c235c438e..f621761b0cf761904e875bc0d2f84a9d38e47ddc:/doc/plugins/write/tutorial.mdwn diff --git a/doc/plugins/write/tutorial.mdwn b/doc/plugins/write/tutorial.mdwn index 2823c47b7..e1b34b800 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 Fibonacci sequence. 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, the [[ikiwiki/directive]] will be replaced by the next number in the sequence. @@ -116,7 +116,7 @@ a page that uses fib. Now the inlined page will have one set of numbers, and the standalone page another. The numbers might even skip over part of the sequence in some cases. -Obviously, using a global `$last` veriable was a bad idea. It would +Obviously, using a global `$last` variable was a bad idea. It would work ok in a more regular cgi-based wiki, which only outputs one page per run. But since ikiwiki is a wiki *compiler*, things are a bit more complicated. It's not very hard to fix, though, if we do want the sequence