[pmwiki-users] Largest heading not included in Handy Table Of Content

Daniel Andersson list at daniel-gr-andersson.com
Wed Jan 19 05:15:27 CST 2011



Hi all,

The largest heading is not included in the table of content using
HandyTableOfContent.

http://www.pmwiki.org/wiki/Cookbook/HandyTableOfContents



Neither of these wiki code examples work:


(:htoc start=1:)

!Heading 1

!!Heading 2

!!!Heading 3

(:htoc:)

!Heading 1

!!Heading 2

!!!Heading 3


(:htoc start=1:)

= Heading 1 =

== Heading 2 ==

=== Heading 3 ===

(:htoc:)

= Heading 1 =

== Heading 2 ==

=== Heading 3 ===





An ugly workaround is to to include an heading before the first one
largest heading:

(:htoc:)

= Heading 1 =

= Heading 1 =



(:htoc:)

= =

= Heading 1 =



I'm running PmWiki 2.2.22 on Debian 6 Squeeze.

It doesn't make any difference if I enable or disable creole or not.

Any ideas how to fix this?



Thanks in advance

Daniel Andersson



More information about the pmwiki-users mailing list