Hi Jean-Charles On Mon, Jan 5, 2015 at 8:00 PM, Jean-Charles <[email protected]> wrote:
> The <$macrocall> is exactly what I initially expected. Why does the > <<bracket>>syntax limit arguments to plaintext ? Is it an internal > limitation of some kind or is it a choice for some reason ? > The original idea was to keep the macro invocation syntax super-simple, with the possibility of stepping down to the underlying <$macrocall> widget when more flexibility is needed. > Is there a way to avoid wikification of a macro result ? (Some of mine > return CamelCase and despite trying tildas everywhere, I had to remove all > links parsing...) > Yes, you can use the <$text> widget, which renders its 'text' attribute as-is: <$text text=<<myMacro>>/> Best wishes Jeremy. > > Le lundi 5 janvier 2015 20:35:17 UTC+1, Jeremy Ruston a écrit : >> >> Hi Jed >> >> I think there's a couple of points that need clarifying: >> >> * Invoking a macro with double angle brackets causes the result of the >> macro (after parameter and variable substitutions) to be wikified (as >> expected) >> * Using a macro as a widget/element attribute (eg <div >> class=<<myMacro>>>) doesn't wikify the result of the macro; the plain >> result of the macro is assigned to the attribute >> * Invoking a macro with double angle brackets doesn't allow parameters to >> be specified as transclusions or macro invocations; you can only use plain >> strings >> * Macros can also be invoked with the <$macrocall> widget, which does >> allow attributes to be specified as transclusions or macro invocations >> >> Does that help? >> >> Best wishes >> >> Jeremy. >> >> >> >> On Mon, Jan 5, 2015 at 7:27 PM, Jed Carty <[email protected]> wrote: >> >>> I made an example here http://inmysocks.tiddlyspot. >>> com/#Concatenating%20Strings%20-%20What%20Breaks >>> >>> The 'Simplest example using two levels of variables' section shows this >>> situation. >>> >>> Hopefully that explains a bit better. I seem to be pretty bad explaining >>> most things so I hope the working example helps. >>> >>> -- >>> 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 http://groups.google.com/group/tiddlywiki. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Jeremy Ruston >> mailto:[email protected] >> > -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

