I am using the tocP plugin with the captionField set to toc-caption
, but I was wondering if there is a way to override this in children tiddlers, so that if I wanted to just show the title field and not any captionField or the caption.
i.e.
{"title":"Contents" (toc captionField):"toc-caption", "tags":"$:/tags/SideBar"}
{"title":"Journal Tiddlers" "toc-caption":"Journal", "tags":"$:/tags/Contents, [[Note Tiddlers]]"}
(shows toc-caption)
{title:"Note Tiddlers", toc-caption:"Notes", tagged:"$:/tags/Contents"}
(shows toc-caption)
{title:"Journal Tiddlers", "toc-caption":"Journal", tagged:"$:/tags/Contents, [[Note Tiddlers]]"}
(shows title when nested under "Note Tiddlers")
I’ve tried overriding the macro in the “Note Tiddlers” tiddler or using macrocall and setting the captionField to <<caption-field>>
, which would be \define caption-field() toc-caption
with the “Note Tiddlers” having \define caption-field() title
but I wasn’t able to get it to change to show the tiddler as its title, among other things I’ve tried.
bit of a headscratcher, but I’d appreciate any help