Wiki source code of Table of Contents
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Table of Contents Macro** generates a table of contents for the page headings. [[Learn more>>http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro]] | ||
2 | |||
3 | = Description = | ||
4 | |||
5 | The following examples use the current page structure constituted by two sections and three subsections. | ||
6 | |||
7 | Learn more about structuring a page with headings [[on the syntax page.>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1§ion=Headings]] | ||
8 | |||
9 | = Macro Table of Contents Examples = | ||
10 | |||
11 | == Simple Table of Contents == | ||
12 | |||
13 | {{example}} | ||
14 | {{toc/}} | ||
15 | {{/example}} | ||
16 | |||
17 | == Table of Contents with a starting point == | ||
18 | |||
19 | {{example}} | ||
20 | {{toc start="2"/}} | ||
21 | {{/example}} | ||
22 | |||
23 | == Table of Contents inside a box == | ||
24 | |||
25 | {{example}} | ||
26 | {{box cssClass="floatinginfobox"}} | ||
27 | {{toc/}} | ||
28 | {{/box}} | ||
29 | {{/example}} |