Hi TheDiveO The $link widget is used for creating internal links to tiddlers.
To create an external link you should use the HTML <a> element: \define _rfclink(n) <a href="http://tools.ietf.org/html/rfc$n$" class="tw-link-external" target="_blank"><$transclude field="rfc-title">//untitled RFC document//</$transclude></a> \end Best wishes Jeremy On Thu, Aug 28, 2014 at 9:19 AM, TheDiveO <harald.albre...@gmx.net> wrote: > Hi, > > I'm trying to create an external link using the $link widget in TW 5.0.15 > but I can't get my markup working correctly. I have to admit that I don't > understand why the following code snipped isn't correctly creating a > working external URL. > > \define _rfclink(n) > <$link to="http://tools.ietf.org/html/rfc$n$" ><$transclude > field="rfc-title">//untitled RFC document//</$transclude></$link> > \end > > and then... > > <$set name="rfc" value={{!!rfc-number}}> > <$macrocall $name=_rfclink n=<<rfc>> /> > </$set> > > I always end up with a local link and the external URL getting banged to > the end of the local URL. From the documentation I would have expected > $link to handle both local and external URLs. > > Any help? > Thanks! > > -- > 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 post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.