Wiki source code of Table of Contents
Version 2.1 by Sergey Lebedev on 2019/04/13 05:15
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 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 | |||
| |
2.1 | 3 | = Description = |
| |
1.1 | 4 | |
| |
2.1 | 5 | The following examples use the current page structure constituted by two sections and three subsections. |
| |
1.1 | 6 | |
| |
2.1 | 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]] |
| |
1.1 | 8 | |
| |
2.1 | 9 | = Macro Table of Contents Examples = |
| |
1.1 | 10 | |
| |
2.1 | 11 | == Simple Table of Contents == |
| |
1.1 | 12 | |
| 13 | {{example}} | ||
| 14 | {{toc/}} | ||
| 15 | {{/example}} | ||
| 16 | |||
| |
2.1 | 17 | == Table of Contents with a starting point == |
| 18 | |||
| |
1.1 | 19 | {{example}} |
| 20 | {{toc start="2"/}} | ||
| 21 | {{/example}} | ||
| 22 | |||
| |
2.1 | 23 | == Table of Contents inside a box == |
| 24 | |||
| |
1.1 | 25 | {{example}} |
| 26 | {{box cssClass="floatinginfobox"}} | ||
| 27 | {{toc/}} | ||
| 28 | {{/box}} | ||
| 29 | {{/example}} |