[pmwiki-users] AutoToc and worse

Petko Yotov 5ko at 5ko.fr
Tue Feb 11 10:44:03 PST 2020

All Worse headings are of level 2, and are considered the same as !!H2 
headings from wiki text, and in the TOC should be aligned with them.

Both AutoTOC and its successor PmTOC only use the plain text of the 
headings without any formatting. If you use bold in headings to simulate 
a structure, indeed they will appear the same as the ones without bold:

In addition, after you save a page with Worse, the TOC is not 
immediately updated for the person who edits the page. It will be 
updated the next time someone (or the same person) requests the same 


On 08/02/2020 08:29, Benjamin Grassineau wrote:
> I use the Worse (is better) cookbook on certain pages of my pmwiki
> website, to facilitate editing for users. In these pages, the AutoToc
> cookbook also works, but it does not respect the levels in the table
> of contents.
> Do you think this is a mishandling on my part, or if not, is there
> anything we can do about it?

More information about the pmwiki-users mailing list