0 Votes
Version 2.1 by Bart Vastenhouw on 2021/04/07 13:03

Show last authors
1 Insert the following in your page to have the headings automatically numbered:
2
3 {{code}}
4 {{numberedheadings/}}
5 {{/code}}
6
7 To extend this to the whole wiki,
8 * edit objects of page Macros.NumberedHeadingsStylesheetExtensionMacro
9 * navigate to the XWiki.StyleSheetExtension object
10 * choose "Use this extension" : "Always" instead of "On demand"
11 * Then all headings will be numbered without need of adding the ~{~{numberedheadings/}} in each page
12
13 Sample result :
14
15 [[image:numberedheadings.JPG]]