[pmwiki-users] New Recipe: IntuitiveSpacing

Hans design5 at softflow.co.uk
Thu Mar 15 12:47:28 CDT 2007


Thursday, March 15, 2007, 5:09:13 PM, Dr wrote:

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

  Indents of lines will literally be treated as such, be it  a number of
sapces or tabs (inserted perhaps by pasting into the text box, as you
cannot add a tab in a textarea input control).

  They will not be treated as pre-formatted unwrapped text.

Subsequent lines will be treated as part of the paragraph,
till an empty line occurs.

I put up a demo test page on my site here (editing locked)
where you can see some effects of the script:
http://softflow.co.uk/design/Test/WhiteSpaceTest


Hans




More information about the pmwiki-users mailing list