Wiki source code of Table of Contents

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

Hide last authors
Leon Poon 3.1 1 {{velocity}}
Leon Poon 4.1 2 $services.localization.render('help.macros.toc',['**']) [[$services.localization.render('help.more.label')>>https://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro]]
Leon Poon 1.1 3
Leon Poon 3.1 4 = $services.localization.render('help.macros.toc.description.title') =
Leon Poon 1.1 5
Leon Poon 3.1 6 $services.localization.render('help.macros.toc.description.content', ['[[','>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1&section=Headings]]'])
Leon Poon 1.1 7
Leon Poon 3.1 8 = $services.localization.render('help.macros.toc.examples.title') =
Leon Poon 1.1 9
Leon Poon 3.1 10 == $services.localization.render('help.macros.toc.simple') ==
11 {{/velocity}}
Leon Poon 1.1 12
13 {{example}}
14 {{toc/}}
15 {{/example}}
16
Leon Poon 3.1 17 {{velocity}}
18 == $services.localization.render('help.macros.toc.startingPoint') ==
19 {{/velocity}}
Leon Poon 2.1 20
Leon Poon 1.1 21 {{example}}
22 {{toc start="2"/}}
23 {{/example}}
24
Leon Poon 3.1 25 {{velocity}}
26 == $services.localization.render('help.macros.toc.insideBox') ==
27 {{/velocity}}
Leon Poon 2.1 28
Leon Poon 1.1 29 {{example}}
30 {{box cssClass="floatinginfobox"}}
31 {{toc/}}
32 {{/box}}
33 {{/example}}