It looks like you're trying to concatenate with this:

mr-fadeIn-<<fcls>>

But that probably won't work (I know, it looks like it works when you call 
_split-fadeIn-class, 
but that's an illusion) You probably either need to call another macro to 
concatenate 
mr-fadeIn- and <<fcls>> or you need to use wikify to put them together.

HTH
-- Mark

On Sunday, November 18, 2018 at 3:37:26 AM UTC-8, Mohammad wrote:
>
> I have a macro as bellow. It uses a helper macro to split input into 
> several words using space as delimiter
>
>    - Macro
>    
> \define _split-fadeIn-class()
> <$list filter="$(cls)$ +[splitbefore[ ]]" variable="fcls">
> mr-fadeIn-<<fcls>>
> </$list>
> \end
>
> \define colorful(param1)
> <$vars cls="$param1$">
> <span class=<<_split-fadeIn-class>> >
>  This is test
> </span>
> </$vars>
> \end
>
>
>
>    - I call it like below
>    
>
> <<colorful "redcls bluecls">>
>
>
> It seems this line does not work correctly:
> <span class=<<_split-fadeIn-class>> >
>
>
>    - Any idea?
>    
>
> Cheers
> Mohammad
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/faa973ae-3325-4868-881d-f469678e444b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to