I feel like there must be a very simple way to do this that I am missing.
Given an ordered list of tiddler titles, in a *single filter expression*,
replace the title with the caption if there is one, else keep the title -
without changing the order.
The only solution I came up with is convoluted (on pre-release):
[tag[Widgets]]
:reduce[get[caption]else{!!title}format:titlelist[]addprefix[
]addprefix<accumulator>] +[enlist-input[]]
where tag[Widgets] is a good stand-in for testing purposes for the ordered
list, as not all of these tiddler on https://tiddlywiki.com/prerelease/
have captions but most do.
Is there a simpler alternative?
Cheers,
Saq
--
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/101617cf-7a5e-4bfb-8c57-017aca7608e9n%40googlegroups.com.