For those receive posts through email. I corrected the links as below *Code*: https://github.com/kookma/find-macro *Demo*: https://kookma.github.io/find-macro/
Best Mohammad On Thursday, March 21, 2019 at 3:07:01 PM UTC+3:30, Mohammad wrote: > > Referring to Find macro announcement ( > https://groups.google.com/d/msg/tiddlywiki/I-tJ-ITpfi4/VhrgQ2xcGgAJ) > I would like to introduce some application of this incredible macro here. > > Display macros as separate block > > Concept > > Macros in Tiddlywiki are stored in tiddlers tagged with $:/tags/Macro and > their contents are hidden. For documentation purpose it is desired to show > macros in separate blocks with macro name as heading and content wrapped > into <pre> tag. > > Using find with delimiters begin="\define" and end="\end" can extract > macros from any tiddler. When a macro is extracted a second find run on > the result with start=" " and end="(" can extract the macro name. > > Usage > > In any tiddler contains macros, put the below script > > !! Macro > <<< > <<show-macro>> > <<< > > Limitation > > The show-macro works based on delimiters. If macro is defined as a single > line (with no \end delimiter) the macro may fail. > > Install > > Drag and drop the below macros into your wiki > > - macro/find > - macro/show-macro > > > *Code*: https://github.com/kookma/find-macro > *Demo*: https://kookma.github.io/find-macro/ > > > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/33e753ec-0ea0-4eb0-ad28-0c479e37b54b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

