One thing I would really like to do though is have an automated Table
of Contents for longish tiddlers.
I thought that I would be able to use PartTiddler and ForEach to do
this as in this code:
!Example Table of Contents
<<forEachTiddler
where 'tiddler.title.contains("Sandbox/")'
write 'tiddler.title+"\n"'
>>
<part a1Part>
This is some text in a part.
</part>
<part a2Part hidden>
Another part with text
</part>
But this does not work as ForEach does not seem to recognise parts.
Does anyone know of a way around this?
Many thanks. J.
I was hoping for a short-cut to be honest.
I was surprised that the two tools didn't work together as they both
come from the same author. A development request maybe?
J.
Hmm, my JS is rusty at best but it's mainly that I still don't have my
head around the complexity of the TW objects & don't have a lot of
spare time.
I was hoping for a short-cut to be honest.