Changes for page Table of Contents
Last modified by Leon Poon on 2020/12/11 16:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,25 +1,27 @@ 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 -{{example}} 4 -= Section 1 = 3 += Description = 5 5 6 - ==Sub-Section1.1==5 +The following examples use the current page structure constituted by two sections and three subsections. 7 7 8 - ==Sub-Section1.2=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]] 9 9 10 -= Section2=9 += Macro Table of Contents Examples = 11 11 12 -= Section 3 = 13 -{{/example}} 11 +== Simple Table of Contents == 14 14 15 15 {{example}} 16 16 {{toc/}} 17 17 {{/example}} 18 18 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 + 23 23 {{example}} 24 24 {{box cssClass="floatinginfobox"}} 25 25 {{toc/}}