Something similar is already possible. Widget attributes can be specified as macro invocations, which can concatenate values. For example:
\define myImgStash(url) images/$url$ \end <img src=<<myImgStash(cats.jpg>>/> All this will be more useful once we move beyond current limitaitons on where macros can be defined. The other way that Eskha's original request could be accomplished would be for the page template to include an html <base> element that specifies a base URL. Best wishes Jeremy On Thu, Sep 19, 2013 at 7:37 PM, Tobias Beer <[email protected]> wrote: > I also vote for not only being able to use a default location but also > being able to point to some external source, e.g. > > <img *src*="pb:img.jpg"/> > > ...whereas *pb:* is an alias defined by me at some place which is > substituted with a defined path to my photo-bucket folder, for example. > This might also come in handy for *href *attributes in links, or > *src*attributes in iframes e.g. > > <a *href*="g:foo"/> > > ...linking to a google search for foo. > > Best wishes, > > Tobias. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
