Thanks Alvaro. For some reason I don't get that to work in my context, 
i.e:  https://link-or-ext.tiddlyhost.com/

The workaround I use there is bad but maybe it'll have to do (breifly; the 
user has to himself suffix the pipe character to the pretty title in the 
macro call) 

Thanks.

<:-)

On Tuesday, April 20, 2021 at 2:48:11 PM UTC+2 Álvaro wrote:

> You can use a variable for pipe.
>
> This works
> <$vars l="[[" r="]]" x="|">{{{ hi HelloThere 
> +[join<x>addprefix<l>addsuffix<r>] }}}</$vars>
> El martes, 20 de abril de 2021 a las 14:18:13 UTC+2, Mat escribió:
>
>> I want to create a pretty title link in a filter. Unfortunately the pipe 
>> character in hi| breaks the filter (ref1 
>> <https://github.com/Jermolene/TiddlyWiki5/issues/4462>).
>>
>> E.g these attempts no worky:
>>
>> <$vars l="[[" r="]]">{{{ HelloThere 
>> +[addprefix[hi*|*]addprefix[l]addsuffix[r]] 
>> }}}</$vars>
>>
>> <$vars l="[[" r="]]">{{{ hi HelloThere +[join[*|*]addprefix[l]addsuffix[r]] 
>> }}}</$vars>
>>
>> Any ideas what to do? Maybe some magic regepx is needed but I don't know 
>> how to construct it in that case...
>>
>> <:-)
>>
>> ...Hm, that's like my fourth question today and I didn't even have lunch 
>> yet. I have no idea why they all mount up at the same time. I typically 
>> tiddle fiddle for days without questions.
>>
>

-- 
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/ebd7bcf3-7833-41c4-ab13-b84a66977903n%40googlegroups.com.

Reply via email to