{"id":1320,"date":"2008-04-23T11:06:26","date_gmt":"2008-04-23T18:06:26","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Polarion-Blog\/Heading-chapter-numbering-in-Wiki\/ba-p\/380601"},"modified":"2026-03-26T05:37:04","modified_gmt":"2026-03-26T09:37:04","slug":"heading-chapter-numbering-in-wiki","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/polarion\/heading-chapter-numbering-in-wiki\/","title":{"rendered":"Heading\/chapter numbering in Wiki"},"content":{"rendered":"<p>Instead of <CODE>{toc} <\/CODE>you can use <CODE>#toc(&#8220;1&#8221; &#8220;3&#8221; &#8220;true&#8221;)<br \/>\n<\/CODE><\/p>\n<p>This will make headings 1-3 numbered, and will show a table of contents at the place where <CODE>#toc<\/CODE> appears.<\/p>\n<p>To simply enable numbering of chapters\/headings without displaying the table of contents, you can use a commented construction:<br \/>\n<CODE>&lt;!&#8211; #toc(&#8220;1&#8221; &#8220;3&#8221; &#8220;true&#8221;) &#8211;&gt;<\/CODE><\/p>\n<p>Note that mixed usage of <CODE>#toc<\/CODE> and <CODE>{toc}<\/CODE> breaks functionality \u2013 if <CODE>{toc}<\/CODE> is used, no numbering is shown.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Instead of  {toc}  you can use  #toc(&#8220;1&#8221; &#8220;3&#8221; &#8220;true&#8221;)<\/p>\n<p>This will make headings 1-3 numbered, and will show a table of contents at the place where  #toc  appears.<\/p>\n<p>To simply enable numbering of chapt&#8230;<\/p>\n","protected":false},"author":68984,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-1320","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/users\/68984"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":1,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"predecessor-version":[{"id":1321,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1320\/revisions\/1321"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/tags?post=1320"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/industry?post=1320"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/product?post=1320"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/coauthors?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}