Hi Mario

> On 8 Jul 2019, at 13:47, PMario <[email protected]> wrote:
> 
> That's OK, as long as we prepare the core TOC, to be extendable by plugins. 

The only sense in which the TOC macros should be extendable is by local 
overrides of the internal macros (e.g. a local override of <<toc-caption>>).

If a plugin wants to make a better TOC it is more robust and future proof for 
it to duplicate the core code, rather than trying to hook into it.

Part of the problem here is that the core TOC macros are currently running at 
200 lines because of all the complexity we’ve levered in. The heart of them is 
much simpler than that; it’s not some massive piece of infrastructure that we 
need to structure for partial reuse.

Best wishes

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6954BE4A-1806-4276-AF91-C2F1548A86E6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to