| 117 | === TOC === |
| 118 | |
| 119 | This macro adds the ability to create table of contents on any set of pages. If |
| 120 | a page is not specified, the current page and version is used. |
| 121 | |
| 122 | The table of contents is automatically generated from headings in the page. |
| 123 | |
| 124 | Usage: |
| 125 | |
| 126 | Table of contents for the current page and version: |
| 127 | |
| 128 | {{{ |
| 129 | [[TOC]]] |
| 130 | }}} |
| 131 | |
| 132 | Table of contents for multiple pages: |
| 133 | |
| 134 | {{{ |
| 135 | [[TOC(WikiStart, WikiFormatting)]] |
| 136 | }}} |
| 137 | |
| 138 | ''Download:'' http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/TOC.py |
| 139 | [[BR]]''By:'' Alec Thomas <trac-form@swapoff.org> |
| 140 | [[BR]]''Version:'' >= 0.7.1 (requires patch included in #992) |
| 141 | |