I hope this helps:

http://groups.google.com/group/TiddlyWiki/browse_thread/thread/16da06e35dc3010e/0988b99bad6390b0?lnk=gst&q=easyFormat#0988b99bad6390b0

Ton

On Feb 9, 11:35 pm, GeoJono <[email protected]> wrote:
> I am using easyFormat to more easily format my tiddlers and I have a
> question about it.  I'm trying to add a multi-line block quote into
> it...
>
> to take this:
>
> Multiple lines
> in the
> block quote
>
> and make it this:
>
> <<<
> Multiple lines
> in the
> block quote
> <<<
>
> So far, the only thing I can get it to do is this:
>
> <<<Multiple lines
> in the
> block quote<<<
>
> which doesn't work.
>
> I'd like to know how to make it insert line breaks so that the
> formatting will come out right.
>
> Here's the code for that line:
>
> config.commands.format.addMode({
>  name:'Multi-line Block',
>  tooltip:'turns multi-line selection into blocked text',
>  operation:function(){
> config.commands.format.putInPlace("<<<"+TWkd.context.selection.content
> +"<<<",TWkd.context.selection);
>  }
>
> });
>
> Does anyone know how to insert line breaks in here so that after the
> "<<<" it will go to the next line, and then again before the last
> "<<<"?
>
> Thanks,
> Jono

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