Hi Mat,

You can easily achieve that using tobibeer/setvars 
<http://tobibeer.github.io/tw5-plugins/#setvars>:

<$setvars url="\http://tiddlywiki.com/#\ current" _current=<<currentTiddler>
>>
<<url>>
</$setvars>

However, this requires for the tiddler title to not have spaces in order 
for the link to work with a TiddlyWiki.

While not officially released, here's a little macro module called *x* that 
does what you want,
by default pointing to http://tiddlywiki.com:

$:/.tb/modules/macros/x.js 
<http://tobibeer.github.io/tw5-plugins/#%24%3A%2F.tb%2Fmodules%2Fmacros%2Fx.js>
 (*code:* tobibeer/tw5-defaults/.../x.js 
<https://github.com/tobibeer/tw5-defaults/blob/master/editions/defaults/tiddlers/system/modules/macros/x.js>
)

If you want it to point to another domain, simply create a global macro 
called *x-url* and have it return your *base-url*, e.g.:

title: $:/config/x-url
tags: $:/tags/Macro

\define x-url()
http://tobibeer.github.io/tw5-plugins
\end

Alternatively, you can, of course overwrite the *x-url* for each tiddler 
individually by declaring it at the start:

\define x-url() http://tobibeer.github.io/tw5-plugins

Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c95281a6-b989-4877-b8b9-0cd91a05baa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to