On Tuesday, January 8, 2019 at 11:42:10 AM UTC-5, Eric Shulman wrote:
>
> Instead of removing the "Word:" prefix in the main <$list> widget, just 
> match the desired titles as-is, so that the <$link> widget will get the 
> correct tiddler title for *navigation* purposes.
>
> Then, separately apply the removeprefix["Word:" ] to the 
> currentTiddler using an 'inline filter' (the triple curly brace syntax) to 
> produce the desired text for *display* purposes.
>
> Something like this:
> <$list filter='[tag[Word]butlast[]]'><$link>{{{ 
> [<currentTiddler>removeprefix[Word: ]] }}}</$link>,</$list>
> <$list filter='[tag[Word]last[]]'>   <$link>{{{ 
> [<currentTiddler>removeprefix[Word: 
> ]] }}}</$link> </$list>
>

Thanks Eric, this looks like it could be a nice, clean solution. 
Unfortunately, for me, the generated links *do not* include "Word: " so do 
not link to the correct tiddler. 

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8095191b-0843-4ec2-a166-7439a9ba9957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to