Products

Heading/chapter numbering in Wiki

By palomor

Instead of {toc} you can use #toc(“1” “3” “true”)

This will make headings 1-3 numbered, and will show a table of contents at the place where #toc appears.

To simply enable numbering of chapters/headings without displaying the table of contents, you can use a commented construction:
<!– #toc(“1” “3” “true”) –>

Note that mixed usage of #toc and {toc} breaks functionality – if {toc} is used, no numbering is shown.

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/polarion/heading-chapter-numbering-in-wiki/