Consider the below macro

\define mac(p)
<$set name=cls filter="$p$ +[addprefix[mr-fadeIn-]]">
<$text text=<<cls>> />
</$set>
\end

It accepts p as input parameter and adds the prefix mr-fadeIn- and return 
it.

Now consider the below examples

<<mac "ab">>

<<mac "a b">>

<<mac [[a b]]>>

<<mac "[[a b]]">>

and their out puts



mr-fadeIn-ab 

mr-fadeIn-a mr-fadeIn-b 

mr-fadeIn-a mr-fadeIn-b 

[[mr-fadeIn-a b]] 


I do not understand the difference. I expect the first three example just 
append the mr-fadeIn- to begining the argument (parameter)! But filter 
seems split them on SPACE.


--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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6b4a5391-a03b-4067-aa00-9611d7bc21ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to