I'm using wikify to write out a string "||||||||X|X|X|X|X|X|||||<br/>"
- the <br/> is breaking the line, but the "|" is not turning into a
table separator.
What I get looks like a table in "edit" mode, rather than "display"
mode.

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.

Reply via email to