Thanks mark.
This solves the problem halfway. This seems to print the title as a link to
the <currentTiddler>.
How to get the title in plaintext?
Cheers,
Adithya
On Saturday, August 15, 2020 at 7:04:53 PM UTC+5:30 Mark S. wrote:
> {{{[all[current]get[name]else{!!title}]}}}
>
> In filter expressions, use a single curly bracket set "{!!title}" when
> transcluding field values.
>
>
> On Saturday, August 15, 2020 at 6:21:39 AM UTC-7, Adithya B M wrote:
>>
>> Im trying to write a simple macro to: Return the contents of the field
>> 'name' and if the field is absent, the title of the tiddler (in plain
>> text).
>>
>> Can someone help me in getting this to work?
>>
>> \define get_title()
>> {{{[all[current]get[name]else[!!title]]}}}
>> \end
>>
>> Cheers,
>> Adithya
>>
>
--
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/ae93b520-7de5-427a-8bde-20da9dbac647n%40googlegroups.com.