[tw5] Re: Is it safe to make idempotent macros?

2020-12-12 Thread Leung arvin
I see , thanks! that is a much better method to implement the idea Mark S. 在 2020年12月12日 星期六下午8:53:02 [UTC] 的信中寫道: > I suspect your usage would break the spirit of the JS rules, since it's > using a macro to change TW content. > > But you could write a non-JS (i.e.wikitext) macro that would

[tw5] Re: Is it safe to make idempotent macros?

2020-12-12 Thread 'Mark S.' via TiddlyWiki
I suspect your usage would break the spirit of the JS rules, since it's using a macro to change TW content. But you could write a non-JS (i.e.wikitext) macro that would basically do the same thing. If the tiddler doesn't exist, it would show a button which, when clicked on, would create the