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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9bdfa851-cc94-4783-b576-c7d07858ff2bo%40googlegroups.com.