[Pmwiki-users] PmWiki WikiStyles implementation testers needed

Jonathan Scott Duff duff at pobox.com
Fri Feb 14 11:45:50 CST 2003


On Fri, Feb 14, 2003 at 11:40:45AM -0600, Patrick R. Michaud wrote:
> On Fri, 14 Feb 2003, Jonathan Scott Duff wrote:
> 
> > On Fri, Feb 14, 2003 at 11:12:44AM -0600, Patrick R. Michaud wrote:
> > > Some possible solutions:
> > >   * Require everything in a WikiStyle to be in the form [name]=[value].
> > >     Then %=red% would mean to use the previous WikiStyle that had "define=red"
> > >     in it.
> > >   * Require that the first character following the leading % in a WikiStyle
> > >     be a letter.  This would eliminate the mis-classifications that occur in
> > 
> > I like this one.
> 
> Do you mean just the second bullet or both bullets? 
> 

Just the second bullet.

> > >   * Other ideas?
> > Change the markup such that the WikiStyle is delimited by unlikely
> > digraphs.  For instance,  %%define=foo color=red%% %%foo%%.  How often
> > do you see 2 consecutive percent signs?  
> 
> Of course this can be done but I'm not sure i like it.
> 
> > 	%^define=foo color=red%
> > 	%^red%This text is red red red %^%
> 
> This is better but I don't like having extra characters if I can avoid it.  
> Another possibility is to replace your caret with a percent sign:
> 
> > 	%%define=foo color=red%
> > 	%%red%This text is red red red %%%
> 
> and that ought to be quite safe.

Looks good to me.

> > You still might have a problem with premature WikiStyle termination
> > though.
> 
> Can you explain what you mean here?

Nope.  It was a fleeting thought that upon reflection makes no sense.

-Scott
-- 
Jonathan Scott Duff
duff at cbi.tamucc.edu




More information about the pmwiki-users mailing list