On Friday, 16 April 2021 at 12:29:17 am UTC+10 Eric Shulman wrote:

> On Thursday, April 15, 2021 at 7:07:52 AM UTC-7 blub...@gmail.com wrote:
>
>> I have a bunch of tiddlers named like "file name with spaces.pdf", 
>> matching a bunch of files in the Papers/ directory.
>> I want to set the _canonical_uri field equal to "Papers/file name with 
>> spaces.pdf"
>>
> ...I can't seem to prepend the "Papers/" part of the path onto the 
>> filename.
>>
>  
> You can use an "inline filter" (aka, "filtered transclusion"), like this:
> <$action-setfield _canonical_uri={{{ [<currentTiddler>addprefix[Papers/]] 
> }}}/>
>
> enjoy,
> -e  
>
 
Thanks Eric.  That's exactly what I was looking for.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6f49729f-6418-4fe0-a030-77ce26ad9416n%40googlegroups.com.

Reply via email to