[pmwiki-users] Markup question...

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 2 09:35:25 CDT 2007


On Mon, Apr 02, 2007 at 10:04:09AM -0400, The Editor wrote:
> On 4/2/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >On Mon, Apr 02, 2007 at 05:40:43AM -0400, The Editor wrote:
> >> I have a simple markup I'm using to show Snippets code easily, and it
> >> works fine except I can't seem to get the >>box<< to process.
> >>
> >> Markup('ZAPshow', '_begin', '/\(:show (.*?):\\)/',
> >>       ">>box<<
> >> Examples: [[$1]](:input form:)(:textarea name=test rows=10
> >> cols=50:){(source $1#ID)}
> >> >><<");
> >
> >Sure.  In a markup rule, it would be "&gt;&gt;box&lt;&lt" instead of 
> >">>box<<"
>
> Ok, I made the change but it still shows the >><<'s.  Do you see any
> other problem?

Oops, I forgot the last semicolon (and thus so did you).  It
should be "&gt;&gt;box&lt;&lt;" (note semicolon at end).

> Markup('ZAPshow', '<{$var}', '/\(:show (.*?):\\)/',
> 	"&gt;&gt;box&lt;&lt
> Examples: [[$1]](:input form:)(:textarea name=test rows=10
> cols=50:){(source $1#ID)}(:input end:)
> &gt;&gt;&lt;&lt");

    Markup('ZAPshow', '<{$var}', '/\(:show (.*?):\\)/',
    	"&gt;&gt;box&lt;&lt;
    Examples: [[$1]](:input form:)(:textarea name=test rows=10
    cols=50:){(source $1#ID)}(:input end:)
    &gt;&gt;&lt;&lt;");

Pm



More information about the pmwiki-users mailing list