That sort of works, but ... 1) I'd have to include / define that macro in every tiddler where i wanted to use it, right? Is there an easy way to put all my macros in one tiddler and then just include that into other tiddlers?
2) This seems like an incredibly long way to go around for what amounts to string concatenation. Suppose I want to generate a URL with a field value in the middle of it (versus at the end of it). I could attempt something like the following (sorry, I'm not sure how to post code blocks): \define cc(a:"",b:"") $a$$b$ \end <a href=<<cc <<cc "http://google.com/#q=" "xyz">> {{!!x}}>> >link</a> Where cc is for CONCATENATE, but even that doesn't work because it doesn't properly process the nested macros. I guess using the full macrocall widget might work, but it's so long! Is there not a good way to just do substring insertion in general? The <$view> widget claims it supports templates, but I couldn't get it to work. On Monday, February 3, 2014 8:56:34 AM UTC-5, Stephan Hradek wrote: > > Does this help? > > \define mailto(email link) > <a href="mailto:$email$">$link$</a> > \end > > <$macrocall $name="mailto" email={{!!email}} link="mail me"/> > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.