Hey there - tested CreateToc just now and it's looking much better.
Yahoo - this is my user base's #1 issue, they'll be delighted.
Two issues to raise:
1. the TOC shouldn't have bullets, especially ones that aren't
indented. Since it's a TOC, it should be mulitple-space-indented
only, imho. bullets and dashes like currently in place are a
detriment to the elegant design of this plugin. I'm guessing it's an
interim solution and this is already in your mind.
2. The TOC doesn't seem to generated any entries for '!' (h4's). I
set headers to '!' and none appear, despite the presence of '!'
headings. I'd recommend that the following functionality be in place:
headers="!!!" should give you entries for the !!! headings only
headers="!!" should give you a TOC containing ONLY '!!' headings, not
!!! as well
headers="!" should give you a TOC containing ONLY '!' headings, not
!!! and !! as well
headers="!!!,!" should give you a TOC containing ONLY '!!!' and '!'
headings, not !! as well
and last, no headers declaration should give you !!!, !! and ! headings.
I'll be glad to futz about with the code to make it work as
described, if you'd like.