Mario: Thanks for the description of how to use macros. It will be a big help with functions that I want to bring over from my TWC content.
Steve On Sunday, September 28, 2014 9:05:08 AM UTC-4, PMario wrote: > > On Sunday, September 28, 2014 2:23:57 PM UTC+2, steve wrote: >> >> Mario: I couldn't get your approach to work. The problem is that I don't >> know where to put (or how to tag) the definition of myList-links. >> > > \define myList-links(filter,type:"ul", > ...code > \end > > With TW this is called a macro definition. It needs to be at the start of > a tiddler. > If it is in the same tiddler as the macro call eg: <<macro>>. It is called > a local macro > > see: http://tiddlywiki.com/#Macros%20in%20WikiText > > > If you want it to be a "global macro" you'll need to use a tiddler eg: > MyListMacroDefinition > copy the code into the tiddler > tag it with: $:/tags/Macro > > Global macros can be used in every tiddler > > -mario > -- 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/d/optout.

