Active
Project:
PEAR Wiki Filter
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2007 at 07:24 UTC
Updated:
7 Jun 2007 at 19:50 UTC
When using the mediawiki markup, how do I create mediawiki style table of contents? That is, I'm using what I know to work in mediawiki, but PEAR wiki doesn't seem to generate the table of contents. Thanks for any tips.
Comments
Comment #1
ghoti commentedTry using [[toc]].
Comment #2
js1 commentedThanks for the tip. That sort of works. The headings are listed at the top under a "Table of Contents" heading. But, it's not enumerated, nor are the different heading levels indented.
BTW, I did a CVS update on 2007-06-07.
Comment #3
ghoti commentedFrom what I see in PEAR's Xhtml/Toc.php, I suspect enumeration may not be possible without surgery. I'm having a similar problem with indents, which I've described here: http://drupal.org/node/150067 . That one has me stymied.
FWIW, if I can figure out where my indents are going, I'll probably know enough to patch Toc.php for enumeration.