[pmwiki-users] New Recipe: IntuitiveSpacing

Hans design5 at softflow.co.uk
Thu Mar 15 08:28:31 CDT 2007


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!

Best regards,
 Hans




More information about the pmwiki-users mailing list