[pmwiki-users] toc and edit button
Petko Yotov
5ko at 5ko.fr
Sat Feb 4 02:53:49 PST 2023
Indeed - SectionEdit appears to add a division block with an "(Edit)"
link before each heading.
The automatic table of contents from the core is inserted immediately
before the first heading, so in this case after the "(Edit)" link.
You can add this information to the Cookbook:SectionEdit page.
I suppose you should either add a (:toc:) directive manually, or in a
group header or sidebar, or may be try a different table of contents
recipe. Not AutoTOC which also inserts itself right before the first
heading.
Petko
On 04/02/2023 08:24, jdd at dodin.org wrote:
> Hello,
> Just a word to notice a way toc (table of contents) works with the
> sectionedit cookbook.
>
> I don't know if it's intentional.
>
> since some time, it's no more necessary to type (:toc:) to have a toc.
>
> if you don't, the first "edit" button is located *before* the toc. and
> you have to type (:toc:) before the first "!" to have the button
> located just ahead of the first title
>
> I don't know if I'm understandable :-(. Ask if not :-(
>
> thanks
> jdd
More information about the pmwiki-users
mailing list