> 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.