[pmwiki-users] Proposed Default Stylesheet (pmwiki.css)

H. Fox haganfox at users.sourceforge.net
Fri Feb 17 19:14:01 CST 2006


On 2/17/06, Joachim Durchholz <jo at durchholz.org> wrote:
> Here's an alternative:
> Make lines that start with ! eat the following blank line if it exists.
> That way, if a page author truly wants more empty space after a heading,
> he can insert two empty lines.
> (Maybe too subtle... but empty lines after headings are subtle no matter
> what.)

I like this idea.

It's the same thing that happens with

!!Heading
!! Heading
!!  Heading
!!   Heading

Where the first two result in identical XHTML output and the other two
have one and two leading spaces in the heading text respectively.

That, combined with automatically adding newlines above/below heading
upon saving would be fantastic.

IOW, if someone tries to save

    Blah
   !!Heading
   Blah

it would be saved as

   Blah

   !!Heading

   Blah

and that would result in markup that doesn't include a "vspace
paragraph" above or below the H2 heading.  If someone wants to add a
little extra vspace, they could add an extra newline.

Hagan




More information about the pmwiki-users mailing list