[tw5] Table of content - reference title of current tiddler

Hello,

I am using the TOC macro and would like to use the title of tiddler itself as the tag. So something like:
<<toc-expandable ‘title of this tiddler’ >>

How do I reference the title of the tiddler itself inside the macro ?
Thanks,

Amir

You need to invoke the macro via the macrocall widget:

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

1 Like

Thanks Mark!