]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/toc.mdwn
web commit by ChristianMock
[ikiwiki.git] / doc / plugins / toc.mdwn
1 [[template id=plugin name=toc included=1 author="Joey Hess"]]
2 [[tag type/chrome]]
3
4 Add a table of contents be to a page:
5
6         \[[toc ]]
7
8 The table of contents will be automatically generated based on the
9 headers of the page. By default only the largest headers present on the
10 page will be shown; to control how many levels of headers are shown, use
11 the `levels` parameter:
12
13         \[[toc levels=2]]