I have a section, <<simple-list>> that I want to show when the field "status" is fold or partial or order. Now I repeat the code three times:
\define my-macro() <$reveal state="!!status" type="match" text="fold"> <<simple-list>> </$reveal> <$reveal state="!!status" type="match" text="partial"> <<simple-list>> </$reveal> <$reveal state="!!status" type="match" text="sort"> <<simple-list>> </$reveal> <!---------------------------IF status IS UNFOLD OR UNSORT, SHOW <<long-list>> INSTEAD--> <$reveal state="!!status" type="status" text="unfold"> <<long-list>> </$reveal> <$reveal state="!!status" type="match" text="unsort"> <<long-list>> </$reveal> \end Is there any way to make it easier? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/27a2900e-9233-4486-9ae8-8dece2209992%40googlegroups.com.

