Hello,
I think it’s sometimes helpful to have a kind of hirarchy in TiddlyWiki. I have therefore created the titles with colon separated topics, so for example I have some tiddlers for TiddlyWiki plugins:
TiddlyWiki:Plugin:relink
TiddlyWiki:Plugin:Shiraz
TiddlyWiki:Plugin:Projectify
What I want is a link at the buttom of the above tiddlers to TiddlyWiki:Plugin
. And then a link at the buttom of the tiddler TiddlyWiki:Plugin
to TiddlyWiki
.
I know this is possible with a ViewTemplate
, but I struggle to get the right filter expression inside the list-links
macro. I think I need to pass the currentTiddler
title to a regular expression, which will remove everything after the last colon (including the last colon).
I started with something like this:
<<list-search filter:"[all[current]regexp[/.+(?=\:)/]]">>
But I’m not sure if my regular expression is wrong or if this approach is in general wrong and I have to write a macro etc.
Can someone help?