- <ul id="toc">
- <li><a href="#calling_macros">Calling macros</a></li>
- <ul>
- <li><a href="#example">Example</a></li>
- </ul>
- <li><a href="#defining_macros">Defining macros</a></li>
- </ul>
+... the plugin populates the variable "`_toc`" like this:
+
+ _toc = [
+ (2, "Calling macros", "calling_macros"),
+ (3, "Example", "example"),
+ (2, "Defining macros", "defining_macros"),
+ ]
+
+... where the first item is the level (h1, h2, etc). The
+second item is the headline and the last element is a so-called
+[[slug|http://en.wikipedia.org/wiki/Slug_(web_publishing)]], used for
+local anchors.
+