sorry but I still have problems. The macrocall syntax suggested by Tony
and Álvaro does not work, the tiddler displays the code although with the
image itself displayed in place of the image filename. I have tried
replacing
img=<> with img="<>" and even with
the full path to the image.
Ah, great, many thanks Tony, and also to Álvaro - I'll go and make it work
Robin
On Wednesday, 1 September 2021 at 22:01:37 UTC+10 TW Tones wrote:
> As soon as you want to pass something to a macro that is not in a value
> format you can use the macrocall widget, even on your own macros
>
>
I think that you don't "see" the following text before your cited text:
" *The advantages of the widget formulation are: "*
I think it is easier to understand by looking at the two codeblocks: In the
first block 2 examples with normal syntax and In the second block 3
examples with macro call
As soon as you want to pass something to a macro that is not in a value
format you can use the macrocall widget, even on your own macros
<$macrocall $name="image-card" img=<> width=""
align:"left" caption="" title="" text="" footer="" pos="top" alt=""/>
But you man not even need to pass the
4 matches
Mail list logo