Macros are a special form of variable whose value can contain placeholders that get filled in with parameters whenever the macro is used.
By themselves, the snippets are not parsed as WikiText. However, a variable reference will transclude a snippet into a context where WikiText parsing may be occurring.What I want to do is build a macro that will evaluate and return the results of an expression such as {{!!fieldname}} within the current context. That would solve so many of my macro problems. I've wasted too many days working out the context differences between <<variableName>>, $variableName$, $(variableName)$, <$macrocall $name="variableName"> etc. etc. etc. Because macro strings are not evaluated within the macro, only after they have been returned into the calling tiddler context.
And you can't have a statement <$macrocall $name="macroname" variablename="<$macrocall $name="anothermacro"/>" />
I think there's a whole github discussion about this.
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/16863eb4-156a-446c-88de-40bc196e8e88%40googlegroups.com.