Nice sounding enhancement.  FYI, about 25 years ago in pre-HTML days, I worked on a wiki like project whose display code was parsed somewhat similar to that this cookbook addition offers.  Anyway, one of our rules for text formatting was
  • Indents of x spaces created a new paragraph whose first line was indented X spaces. 
  • Subsequent lines without indents or other formatting code to end the paragraph were word wrapped as part of the indented paragraph.
Is this how your recipe works for paragraphs? or does it treat text with an indent as preformatted unwrapped text?


Hans wrote:
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


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


  

-- 

Always, Dr Fred C
[EMAIL PROTECTED]
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to