On Saturday, January 6, 2018 at 12:20:26 AM UTC-8, tobaisch wrote:
>
> Many thanks guys,
> Mark your version works fine.
> Eric yours make: https://verylongdomain.com/$(webid)$
>

I think you invoked it wrong.... just invoke <<mymacro>>.  That is the 
"entry point".... "mymacro_makelink" is an "internal" function... if you 
invoke THAT directly, you get the results you report...

Also... a slight typo.... there a  ">" was missing following "{{!!webid}}"

The corrected syntax... and the example are:
\define mymacro()          <$vars webid={{!!webid}}><<mymacro_makelink>></
$vars>
\define mymacro_makelink() [ext[Linktext|https://
verylongdomain.com/$(webid)$]]
<<mymacro>>

-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/eee441ac-6cf5-4040-b25d-98e1cb7e9ba4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to