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

-- 
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/0e7e7baa-3107-4042-8ab5-2d0e9b9cbb29n%40googlegroups.com.

Reply via email to