\define mac(p)
<$set name=cls filter="$p$ +[addprefix[mr-fadeIn-]]">
<$text text=<<cls>> />
</$set>
\end
<<mac "ab">>
<<mac "a b">>
<<mac [[a b]]>>
<<mac "[[a b]]">>
mr-fadeIn-ab
mr-fadeIn-a mr-fadeIn-b
mr-fadeIn-a mr-fadeIn-b
[[mr-fadeIn-a b]]
<$list filter='[[a b]]'>
item: <<currentTiddler>><br>
</$list>\define mac(p)<$list filter='[<__p__>] +[addprefix[xx-]]'>item: <<currentTiddler>><br></$list>\end
<<mac [[a b]]>>
---<$list filter='[[a b]] +[addprefix[xx-]]'>item: <<currentTiddler>><br></$list>From Title List
A title list is a line of text that presents one or more tiddler titles, strung together with a space between each one and the next.
If a title contains a space, it needs double square brackets around it:
"[[a b]] +[addprefix[mr-fadeIn-]]"