File: toc.mdwn

package info (click to toggle)
ikiwiki 1.33.6
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,656 kB
  • ctags: 331
  • sloc: perl: 5,462; sh: 42; makefile: 37
file content (13 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[template id=plugin name=toc included=1 author="Joey Hess"]]
[[tag type/chrome]]

Add a table of contents be to a page:

	\[[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]]