Generates a table of contents based on all the headings on the page.

The resulting list is wrapped inside a DIV tag, which can be used to create the style and look of the TOC.

Parameters#

title
string : The title for the table of contents. By default, uses no heading.
numbered
yes | no : Optional parameter to add numbers to the TOC items

Example#

__Table of Contents:__\\
[{TableOfContents}]