I've accomplished the above-mentioned operation: You can try it out on the https://bimlas.gitlab.io/demo/tw5/kin-filter-toc-demo.html page (scroll to the "View of context - a more sophisticated toc macro powered by kin filter" heading). Remember: still under development!
-- 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/1ed7a6a2-7d65-4a1c-bba9-69640fe6c3fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

