[pmwiki-users] New Recipe: IntuitiveSpacing

marc gmane at auxbuss.com
Thu Mar 15 10:50:17 CDT 2007


Hans said...
> See http://www.pmwiki.org/wiki/Cookbook/IntuitiveSpacing
> 
> PmWiki has a number of markup rules which enforce a standardised
> layout of content, by removing empty spaces, empty lines and line
> breaks. Intuitive spacing offers an alternative by preserving spaces
> tabs and empty lines.
> 
> This new recipe script contains a number of changes to some PmWiki markup
> definitions, which will override PmWiki's defaults for handling white
> spaces and empty lines.
> 
> With this recipe
> * line breaks are honoured.
> * empty lines are honoured as extra vertical space.
> * a half height empty line can be created by inserting new markup >>-<<
> * empty spaces at the beginning of lines are treated as such, not as a
>   change to preformatted text.
> * empty spaces at the beginning which are aligned with previous list
>   elements will be treated as continuing the list element on the next line.
> * pasting in of tab characters are supported.
> * PmWiki's tab markup -> etc is not changed.
> * pasting in of email content or content from word processors where empty
>   spaces were used for layout will look decent and not break the skin
>   layout.
> * optionally PmWiki's code and escape markup can be forced to line wrap.
> 
> 
> Comments and suggestions are welcome and much needed!

This will no doubt be useful for some folk, but I think the name is 
misleading; intuitive has become a horribly misused word. A more 
accurate title might be something like 'LiteralSpacing' or 
'NontypesetText' because intuitive it certainly ain't ;-) Or you could 
call it 'Intuitive user experience solution' :-)

-- 
Cheers,
Marc




More information about the pmwiki-users mailing list