Changes for page Table of Contents

Last modified by Leon Poon on 2020/12/11 16:04

From version 2.1
edited by Leon Poon
on 2019/04/20 06:15
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.4]
To version 1.1
edited by Leon Poon
on 2018/12/16 14:33
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.3]

Summary

Details

Page properties
Content
... ... @@ -1,27 +1,25 @@
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  
3 -= Description =
3 +{{example}}
4 += Section 1 =
4 4  
5 -The following examples use the current page structure constituted by two sections and three subsections.
6 +== Sub-Section 1.1 ==
6 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&section=Headings]]
8 +== Sub-Section 1.2 ==
8 8  
9 -= Macro Table of Contents Examples =
10 += Section 2 =
10 10  
11 -== Simple Table of Contents ==
12 += Section 3 =
13 +{{/example}}
12 12  
13 13  {{example}}
14 14  {{toc/}}
15 15  {{/example}}
16 16  
17 -== Table of Contents with a starting point ==
18 -
19 19  {{example}}
20 20  {{toc start="2"/}}
21 21  {{/example}}
22 22  
23 -== Table of Contents inside a box ==
24 -
25 25  {{example}}
26 26  {{box cssClass="floatinginfobox"}}
27 27  {{toc/}}