aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/toc.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
commit953a959be72c021121d8d3c4a737f48bf52149fe (patch)
treec949e0224a557e48b3db0b91ab81623961ba7a20 /doc/plugins/toc.mdwn
parent1ca63edde0a1f09e58c9c1da1cf9ac7a6805750b (diff)
downloadikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar
ikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar.gz
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
Diffstat (limited to 'doc/plugins/toc.mdwn')
-rw-r--r--doc/plugins/toc.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugins/toc.mdwn b/doc/plugins/toc.mdwn
index 38db1d6af..149ac041e 100644
--- a/doc/plugins/toc.mdwn
+++ b/doc/plugins/toc.mdwn
@@ -3,18 +3,18 @@
Add a table of contents to a page:
- \[[toc ]]
+ \[[!toc ]]
The table of contents will be automatically generated based on the
headers of the page. By default only the largest headers present on the
page will be shown; to control how many levels of headers are shown, use
the `levels` parameter:
- \[[toc levels=2]]
+ \[[!toc levels=2]]
The toc plugin will take the level of the first header as the topmost
level, even if there are higher levels seen later in the file.
The table of contents will be created as an ordered list. If you want
an unordered list instead, you can change the list-style in your local
-style sheet. \ No newline at end of file
+style sheet.