Kebi,

Without looking at you code, most more complex macros will retun a result 
as wiki text macros
`<<macroname>>` but if you wish to use it in a filter or subsequent 
calculations you need to wikify it.

I have developed a few personal runels to help

   - Wikify at the last possible moment
   - Its ok to reuse the variable name


\define macroname() bla bla

Or a 
<$set name=macroname filter="a filter"> etc...


<$wikify name=macroname text="<<macroname>>" output=text>

In here a filter [<macroname>match[test]] will work as expected and <<
macroname>> should return a simple value, but it may be further wikified 
during the final render of the tiddler so if you used <$link to=<<macroname
>> /> it should work.

</$wikify>

I would like a shortcut to using the wikify widget as above.

Regards
Tony


On Tuesday, August 11, 2020 at 11:30:05 AM UTC+10, kebi wrote:
>
> If I use this it works, so I think it is just a formatting problem
>  
>
>> \define myMacro()
>> Reference text
>> \end
>>
>
>> <$macrocall $name="rememberq" id=<<currentTiddler>>
>>
>> question="Q"
>> answer="A"
>>
>> reference=<<myMacro>>/>
>>
>
>  
>

-- 
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/5f50be5a-b5d0-46a2-9cb6-9e0012150929o%40googlegroups.com.

Reply via email to