I am just wondering if a macro must use the HTML "a href" instead of the 
"[ext[" wikitext to show an external link stored in a tiddler and show as a 
link in another tiddler.

1) Create a new tiddler
- Title = "TiddlyWiki Home Page"
- Content = "https://tiddlywiki.com/";

2) Create a global macro
- Title = "mcr OneLink"
- Tag = "$:/tags/Macro"
- Content =

```
\define OneLink(UrParentTag)
<a href={{$UrParentTag$}} target="_blank" rel="noopener 
noreferrer">$UrParentTag$</a>
\end
```

3) Call the macro, passing in the URL tiddler

```
<<OneLink "TiddlyWiki Home Page">>
```

I tried changing the macro definition to use "[ext[" wikitext, but I don't 
know whether the transclusion could work. The below code doesn't work.

```
[ext[$UrParentTag$ |{$UrParentTag$}]]
```

-- 
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/c2bd2541-5ccf-4f87-858a-99a42b20a867%40googlegroups.com.

Reply via email to