[pmwiki-users] Re: Re: Example of problem with long code line

chr at home.se chr at home.se
Fri Jan 28 09:41:03 CST 2005


On Fri, 28 Jan 2005, Patrick R. Michaud wrote:

> > Ok. But I still think we need an alternative in parallel for generating 
> > preformatted text. What did you think of what I wrote on
> > 	http://www.pmwiki.org/wiki/Test/MarkupForPreformattedText
> 
> I'm still mulling over the whole leading whitespace, pre-formatted
> text, and block handling issues.  They all seem to me to be different
> sides of the same problem and I'm wary of addressing any one without 
> considering them all.

Ok (I would have that thought that introducing something like (:pre:) 
would be orthognal to the 'leading whitespace' part at least, but maybe 
not.)  Maybe we should do a cookbook page for introducing (:pre:) so that 
people (well, I:-) can play with it? I'm guessing you add something like

	Markup('preformatted','block','/^(\\(:pre:\\))/','<:pre,1>');

but I have a feeling I'm not 100% here...

/C

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list