On Saturday, December 19, 2015 at 8:46:20 AM UTC-8, David Gifford wrote:
>
> Well, I cheated and went with this:
> 1. <$list filter="[tag[bi]sort[title]]"><$view field="title"/> 
> <$transclude field="relativepath" mode="inline"/></$list>
> 2. relativepath is set up like this: <a 
> href="./path/filename.html">(go)</a>
> But if someone has a better way to do this, where the title contains the 
> external, relative link, please let me know.
>

You can use a macro to assemble the desired syntax
\define extlink(text,path) [ext[$text$|$path$]]

Put this definition into a separate tiddler, tagged with "$:/tags/Macro".
This makes the macro available for use in other tiddlers.

Then, use the $macrocall widget to invoke your macro using the values 
stored in the two separate fields, like this:
<$macrocall $name="extlink" text={{!!title}} path={{!!relativepath}} />

enjoy,
-e


-- 
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/15ced3aa-0f07-4ffe-ab91-69e522bfa341%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to