\define datehx2(here)
@@color:red;font-size:65%;<$list filter="[title[$here$]get[dates]sort[]]"/>@@
\end
\define datehx()
<$macrocall $name=datehx2 here=<<currentTiddler>> />
\end<<datehx>>Hi, I have this macro:
\define datehx2(here)@@color:red;font-size:65%;<$list filter="[title[$here$]get[dates]sort[]]"/>@@\end\define datehx()<$macrocall $name=datehx2 here=<<currentTiddler>> />\end<<datehx>>
... list all the entries in the field "dates" (which are in the format "2020-06-28")...
1' question - how do I force block formatting in this situation?
2' question - why is the resultant list successfully reduced in size, but not turned red?
<$list filter="[<currentTiddler>enlist{!!dates}sort[]]" variable="this_date"> @@color:red;font-size:65%; <$text text=<<this_date>>/><br>@@</$list>Thank you Eric! - that's a whole new (to me) way of looking at using currentTiddler, and I hadn't heard of enlist before either.
I wonder how many other little macros using macrocall and current tiddler I'm going to want to re-write
TW -where learning something new every day is an understatement :D