mehequeda,

I am curious why you need to do this. Since titles are the key to all 
tiddler there handling as titles is innate to TiddlyWiki and the need to 
generate a title with the delimiters [[ and ]] is rare. An example would be 
using the listops functions and operators where this is handled 
automatically. Tiddlywiki finds or adds delimiters automatically in many 
cases for title handling, consider  else{!!title} used in a filter, the 
output will not split a tiddler title containing spaces into separate words.

Regrads
Tones

On Wednesday, 23 June 2021 at 07:10:04 UTC+10 [email protected] wrote:

> Hello wise tiddlywiki users,
>
> Let's say I want to convert the current tiddler title into list format. 
> For example:
>
>    - For a tiddler named CamelCased, this is either CamelCased or 
>    [[CamelCased]] (I prefer the format but I can settle with the latter)
>    - For a tiddler named Name with spaces it must be [[Name with spaces]]
>
> I'm stuck with trying to add squared brackets conditionally 
> [all[current]regexp[\s]addprefix[[[]addsuffix[]]]else{!!title}] because 
> that's not the right syntax for adding the brackets and also because this 
> feels common enough that it should be some easier way to "escape" a string 
> to a title list format.
>
> Do you know how to get it?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e971bff9-cdf0-407a-bc6b-e8b47580c36an%40googlegroups.com.

Reply via email to