[pmwiki-devel] How to count headings?

Ben Wilson dausha at gmail.com
Fri Apr 20 14:55:04 CDT 2007


Is there an easy way to count headings in a page? I would like to
configure my site to automatically add the (:toc:) when more than two
headings occur. Or, should this be a feature in Cookbook:PageTOC?

I think this is similar behavior to that ''other'' wiki.

-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill



More information about the pmwiki-devel mailing list