<$wikify text="<<get-wikified-counts2>> +[!nsort[]limit[5]]" name="filter-counts"><$list filter=<<filter-counts>> variable="count-indications"><<count-indications>><br/></$list></$wikify><$button message="tm-copy-to-clipboard" param="some text">
to clipboard
</$button>\define mylist2()
"""{{{<$wikify text="<<get-wikified-counts2>> +[!nsort[]limit[5]]" name="filter-counts"><$list filter=<<filter-counts>> variable="count-indications"><<count-indications>><br/></$list></$wikify>}}}"""
\endI am not sure what the """{{{ and its closure is for. Perhaps remove them, perhaps also remove The blank lines in the definition, what is the result then?
You macro should only return the output of the list widget.
Regards
Tony
It works, thank you
One tiny thing... When I do that the <br/> between the lines that print out are lost. Do you know of any tricks to retain that in the clipboard?