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/420af05f-0a43-4c2e-98f9-a3a5d333195eo%40googlegroups.com.

Reply via email to