Perfect, that did the trick! Many thanks.
Am Sonntag, 7. Juni 2020 10:40:57 UTC+2 schrieb Silverfox:
>
> In this case it' better to use the Macrocall widget
>
> if your Macro is like
> \define myMacro(myPath)
> xxx
> \end
>
> Then you call it this way :
>
> <$macrocall $name="myMacro" myPath= {{titel of image
> tiddler!!_canonical_uri}}/>
>
> Nicolas
>
>
> On Sunday, June 7, 2020 at 8:25:31 AM UTC+2, Guido B wrote:
>>
>> Hi
>>
>> I started using TW a couple of weeks ago and I love it. However, I still
>> struggle with the syntax. Here's my problem:
>>
>> - I make external images available through _canonical_uri.
>> - I would like to use these images not only by transcluding them, but
>> also by referring to them in a macro.
>> - Example of such a macro: <<image-pretty img:"*files/images/2020-06-05
>> DS MindMap.png*" width: "600px">>
>> - The *path of the image* is the same as the one used when filling in
>> the _canonical_uri
>> - I know that I can get the text of the _canonical_uri field by using
>> {{titel of image tiddler!!_canonical_uri}}
>> - What I don't know is how to use this information in the above
>> macro. What is the syntax to use the text information from {{titel of
>> image
>> tiddler!!_canonical_uri}} in macros requiring text input?
>>
>> Thanks in advance for any hint.
>>
>> Guido
>>
>
--
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/a24601b0-733e-4cf8-bc0d-3cfe8281d764o%40googlegroups.com.