This is how I 75% understand it. >From Title List <https://tiddlywiki.com/#Title%20List>
*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:* The input is a title list - and must follow the above rule. "ab" = [[ab]] is a list of one (no spaces) "a b" = [[a]] & [[b]] is a list of two (space between the titles) [[a b]] = [[[[a]] & [[b]]]] is a list of two - but no idea how and why this renders back to [[a]] [[b]] - the 25% I don't understand. "[[a b]]" = [[a b]] is a list of one (double square brackets around a title with a space) On Friday, January 11, 2019 at 6:48:22 PM UTC+7, Mohammad wrote: > > 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 [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/cf122dc2-8d8d-4c9b-95a1-96665f69a7d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

