Hi mehequeda,

You will want to read up on the 
"ListOps": https://tiddlywiki.com/#ActionListopsWidget

Best,
Joshua Fontany

On Tuesday, June 22, 2021 at 10:49:45 PM UTC-7 mehequeda...@gmail.com wrote:

> Thanks Saq, Tones and Jeremy, it was hidden in plain sight.
>
> The reason I need this is a design decision of some zettlekasten-like 
> features I'm implementing in my wiki. For example, tiddlers tagged with 
> Source are the books, articles, or other sources of concepts I want to 
> track and I've modified the view template to show some fields and 
> references to related things in a footer:
> [image: image.png]
> Now, I'm introducing buttons to create related tiddlers that have the kind 
> of relationship of the corresponding tab. Sometimes that means copying 
> current title in the author field. But in some case I need to set current 
> title in title list format because of the meaning of the field. For 
> example, a concept might have two authors.
>
> BTW, this is pretty much inspired by the amazing Soren's zettlekasten. 
> Thanks Soren!
>
> --
> Sebastián
>
>
> On Wed, Jun 23, 2021 at 2:20 AM TW Tones <anthony...@gmail.com> wrote:
>
>> 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 mehequeda...@gmail.com 
>> 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 a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/S5LM0L5ZVRo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e971bff9-cdf0-407a-bc6b-e8b47580c36an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e971bff9-cdf0-407a-bc6b-e8b47580c36an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/36b67124-16aa-49ba-9da1-80e99e863a2an%40googlegroups.com.

Reply via email to