Patches: Browse | Submit New | Admin
With this patch, a table of contents is automatically generated at the top of the text for RedCloth. The items in the table of contents are just the headings in the text. For example, h1. foo h2. bar will generate a table of contents like this: * foo * bar Hyperlinks are also generated in the table, so you can quickly access the page's contents.
Add A Comment:
Date: 2006-10-08 02:51 Sender: Suraj Kurapati Here is an example of how the generated table of content looks: http://people.ucsc.edu/~skurapat/wmii.html