I used wikify() to write out a string variable like "||||||A|K|Q|||<br/ >" - and that's what I see, it doesn't turn into a table row.
Thanks, Andrew On Dec 9, 10:05 pm, Eric Shulman <[email protected]> wrote: > > My plan is to parse the input & bung it into a table; what I can't > > work out is how to write out the table from the macro. > > You can easily generate wiki-syntax text and then render it from a > macro, using the wikify() function, like this: > > config.macros.myMacro={ > handler: > function(place,macroName,params,wikifier,paramString,tiddler) { > var out=""; > // ... your code here ... > wikify(out,place,null,tiddler); > } > > } > > Alternatively, if you want to generate HTML syntax, you can render it, > like this: > > config.macros.myMacro={ > handler: > function(place,macroName,params,wikifier,paramString,tiddler) { > var out=""; > // ... your code here ... > place.innherHTML=out; > } > > } > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

