Hi ET > I'm rather confused about the WikiText syntax for creating an external link with an internal image.
<a href="http://tiddlywiki.com" target="_blank">[img[Motovun Jack.jpg]]</a> > Right, in that case I'll have to painstakingly type in the longhand form for every image link (in my case) and also must include the target='_blank' bit otherwise opening in the same tab. Not at all. You can create a custom macro that makes it easy to re-use the image link code. For example \define imageLink(url,image) <a href="$url$" target="_blank">[img[$image$]]</a> \end Then each time you need an image link: <<imageLink "http://tiddlywiki.com" "Motovun Jack.jpg">> Best wishes Jeremy On Mon, Feb 23, 2015 at 1:50 AM, ET <[email protected]> wrote: > Right, in that case I'll have to painstakingly type in the longhand form > for every image link (in my case) and also must include the target='_blank' > bit otherwise opening in the same tab. > > > On Monday, February 23, 2015 at 9:38:47 AM UTC+13, Jed Carty wrote: >> >> I am pretty certain that the only other way to have external links >> without using html tags is to just type in the complete url without any >> formatting. Just typing http://tiddlywiki.com will be a link, but that >> isn't very useful. >> >> Making a macro or widget like the link widget but that works for external >> links probably wouldn't be very difficult, but it would just be a wrapper >> on the a tag anyway, so I am not sure how useful it would be. >> >> Do you think it would make a significant difference to be able to type >> something like >> >> <$external-link to='http://tiddlywiki.com'>Some text or images >>> here</$external-link> >>> >> >> instead of >> >> <a href='http://tiddlywiki.com' target='_blank'>Some text or images >>> here</a> >> >> ? >> >> That is a sincere question, I have gotten used to just using the html and >> I am not sure if it would be helpful for someone to use one over the other. >> > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

