[pmwiki-users] PmToc Numbered Headings
5ko at 5ko.fr
Sat Jan 11 11:46:41 PST 2020
Thank you, good catch!
I didn't think at all about the numbering and overlooked that you wrote
Indeed, you are correct, I reverted to your version.
On 11/01/2020 20:38, Robert Riebisch wrote:
> Hi Petko,
> 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
> 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'] = '22.214.171.124.1.1'; # Use numeric format.
> $PmTOC['EnableBacklinks'] = 1; # Show link to top of
> 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
More information about the pmwiki-users