Saq Imtiaz <[email protected]> writes:

Hi Saq,

> When you use variable widget attributes (or indirect attributes via 
> references), the value of the variable is fetched/transcluded and that 
> literal value is assigned to the attribute. There is no further 
> wikify/rendering step.
>  
> The difference is in context. In the first example the macro is used in 
> wikitext and is wikified/rendered after transclusion. In the second the 
> macro is assigned to an attribute, and the value is transcluded but there 
> is no wikify/render step.

That explains it, thanks.

Being used to other macro systems, I remember having a hard time last
time I used macros in TiddlyWiki (that was quite some time ago now).

I think it would be good to document how macro expansion works in
different contexts (or maybe it is documented but I missed it?).

Thanks again,
Nico

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87360p4rgn.fsf%40petton.fr.

Attachment: signature.asc
Description: PGP signature

Reply via email to