On 1/3/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> On Tue, Jan 02, 2007 at 10:23:47AM -0700, Ben Woodruff wrote:
> >
> > Is there a way to get the markup {$ $} and {$$ $$} to work across more
> > than one line?
>
> Yes.  Try changing the Markup() rules to read:
>
>     Markup('{$$', 'fulltext',
>       '/\\{\\$\\$(.*?)\\$\$\\}/es',
>       "Keep('<div class=\"math\">'.PSS('$1').'</div>')");
>
>     Markup('{$', '>{$$',
>       '/\\{\\$(.*?)\\$\\}/es',
>       "Keep('<span class=\"math\">'.PSS('$1').'</span>')");
>
> This will cause the {$...$} markups to be processed before
> the text is broken into separate lines.
>
> Pm
>
>
Thanks Patrick.

Ben

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to