-When you insert {maketoc} into a wiki page, it will create a nested table of contents based on the headings in that page. |
+When you insert the maketoc tag into a wiki page, it will create a nested table of contents based on the headings in that page. |
+ |
+__The tag:__ |
+{code}{maketoc}{/code} |
+__Styling:__ |
+In your css style sheet you can target the look and size of the table of contents by assigning styles to class .maketoc |
+ |
+__Example:__ |
+ |
+{maketoc} |
+!Headline one |
+!Headline two |
+!!Subheadline a under headline two |
+!!Subheadline b under headline two |
+!Headline three |
+ |
+__Page source for the above example:__ |
+ |
+{code} |
+{maketoc} |
+!Headline one |
+!Headline two |
+!!Subheadline a under headline two |
+!!Subheadline b under headline two |
+!Headline three |
+{/code} |