You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys - well done plugin, works great for my use case.
Quick question:
Would love to add an option to automatically number headings like this:
My TOC
Section 1
1.1 Subsection 1 of 1
1.2 Subsection 2 of 1
Section 2
1 Section 1
Section 1 contents here
1.2 Subsection 1 of 1
Contents of subsection 1 of 1 here
...
Any hints on how you would go about implementing this? Happy to give it a shot but maybe you can point me to some potential pitfalls or shortcuts before I dive in. Maybe I could add a callback function as an option to generate the number prefix based on level and counter ?
The text was updated successfully, but these errors were encountered:
Hi guys - well done plugin, works great for my use case.
Quick question:
Would love to add an option to automatically number headings like this:
My TOC
1.1 Subsection 1 of 1
1.2 Subsection 2 of 1
1 Section 1
Section 1 contents here
1.2 Subsection 1 of 1
Contents of subsection 1 of 1 here
...
Any hints on how you would go about implementing this? Happy to give it a shot but maybe you can point me to some potential pitfalls or shortcuts before I dive in. Maybe I could add a callback function as an option to generate the number prefix based on
level
andcounter
?The text was updated successfully, but these errors were encountered: