Thanks that worked... :)

On Tuesday, 23 June 2020 18:02:09 UTC+1, Eric Shulman wrote:
>
> On Tuesday, June 23, 2020 at 9:41:35 AM UTC-7, Ankit Mittal wrote:
>>
>> With edit / save toggle I then switch to view widget
>
> I was hoping to display the data "https://www.google.com"; as a link but 
>> it just shows it as plain text.
>> What do I need to do to make it appear as a link?
>>
>
> Instead of writing
> <$view tiddler=<<db>> index="dt_URI"/>
>
> You can write:
> <$tiddler tiddler=<<db>>>{{##dt_URI}}</$tiddler>
>
> The $tiddler widget sets the context to the title produced by the macro 
> (e.g., $(currentTiddler)$-db).
> Then, the {{...}} transclusion uses "##" to retrieve the dt_URI index 
> value.
>
> You could also achieve the same results with a macro that combines the two 
> steps:
> \define showlink() {{$(currentTiddler)$-db##dt_URI}}
> which you would invoke using
> <<showlink>>
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95c2eb6a-1ec3-4c20-aee8-3c691f2dd5eco%40googlegroups.com.

Reply via email to