[pmwiki-users] Single Space breaks wrap on entire page
Patrick R. Michaud
pmichaud at pobox.com
Thu Sep 22 07:41:53 CDT 2005
On Thu, Sep 22, 2005 at 01:15:01PM +0100, Hans wrote:
> Wednesday, September 21, 2005, 2:08:17 AM, Patrick wrote:
> > If anyone has any other suggestions, I'm open for them. :-)
>
> Is it possible to switch off the "empty spaces at the line start
> creates <pre> tags" entirely, perhaps have empty spaces at line starts
> converted to -> indentations?
To switch them off entirely:
DisableMarkup('^ ');
To convert them to -> indents:
Markup('^ ', 'block',
'/^(\\s+)/e',
"'<:indent,'.floor((strlen('$1')-1)/4)+1.'>'");
This markup uses every four spaces as an extra level of indent
(1-3 spaces == first level indent, 4-7 spaces == second level,
etc.)
Pm
More information about the pmwiki-users
mailing list