Hi Stephan > > Of course the "*" don't render as a bulleted list, while o.t.o.h. > [[advantage]] does link to a tiddler. >
All that's going on is that the DIV containing the $text$ doesn't have a newline after the opening tag, and so the content of the DIV is being parsed in inline mode, which means that block syntax like bullet lists don't get parsed. The solution is to add a newline after the opening tag: \define Comment(text) <$button class="note" popup="$:/state/Comments"><img src="data:image/gif;base64,R0lGODdhEAAQAIACAAAAAOroMSwAAAAAEAAQAAACFYyPqcutAKN0tCYJrN4HRw5eWEiGBQA7"/></$button> <$reveal type="nomatch" text="" default="" state="$:/state/Comments" animate="yes"> <div class="Comments"> $text$ </div> </$reveal> \end > > But I think this would require current macros to be written like this: > > <<Macro "with" "parameter" */*>> > This is indeed the main tradeoff between the syntax for widgets and macros. Macros trade a simpler syntax for the inability to have content, while widgets adopt the HTML model of hierarchical containment, which is rich but fiddly. Best wishes Jeremy -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

