[pmwiki-users] PmToc Numbered Headings
rr at bttr-software.de
Sat Jan 11 11:38:35 PST 2020
regarding your recent comment "by default only 3+ headings generate a
TOC unless $PmTOC['MinNumber'] is set to 1 or 2":
I interpret, that you maybe think I used $PmTOC['MinNumber']=1 (or 2)
and that (:notoc:) would not be required on my specific one-heading page.
Is it right?
But I don't do!
>From my local/config.php:
## Support built-in table of contents and numbered headings.
$PmTOC['Enable'] = 1;
$PmTOC['NumberedHeadings'] = '18.104.22.168.1.1'; # Use numeric format.
$PmTOC['EnableBacklinks'] = 1; # Show link to top of page.
Yes, PmWiki didn't not display a TOC on my page, but it still numbered
the only heading, which didn't make sense to me. So I had to use (:notoc:).
+++ BTTR Software +++
Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/
More information about the pmwiki-users