I think you may want something like:

<div class="tc-table-of-contents">

<$macrocall $name=toc-selective-expandable tag=<<currentTiddler>>  />

</div>


On Monday, January 11, 2021 at 9:29:58 AM UTC-8 [email protected] wrote:

> Is there a way to replace 'TableOfContents' with the title of the 
> containing tiddler when using the construct below that is inserted as a 
> preconfigured snippet while editing? I've tried inserting things like 
> {{!!title}}, but can't make it work the way I want. I want to be able to 
> add a snippet to a tiddler so it builds its own table of contents without 
> having to edit the snippet every time.
>
> Thanks in advance. You guys are the best!
>
> <div class="tc-table-of-contents">
>
> <<toc-selective-expandable 'TableOfContents'>>
>
> </div>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a9527ea6-b474-4e6a-8595-a5ac6246eef3n%40googlegroups.com.

Reply via email to