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

H. Fox haganfox at users.sourceforge.net
Fri Feb 17 19:56:51 CST 2006


On 2/17/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Anyway, I invite an answer to the same question I asked Jo --
> in "normal" HTML, how would you achieve the styling you're looking
> for?
>
>     <h1>Heading</h1>
>     <p>Here's my first paragraph</p>
>     <p>Here's my first paragraph</p>

I think that should be (effectively) what you get when you see

   !Heading

   Here's my first paragraph

   Here's my first paragraph

in markup. Furthermore, when you save

   !Heading
   Here's my first paragraph

   Here's my first paragraph

The extra blank line should be inserted upon saving the page.

I can see arguments both ways on this one.  It's author-friendly
because various authors won't be able to have different
blank-line-after-heading habits (on the same site / page) as other
authors.  Some authors may not appreciate the wiki engine "messing
with their markup" though.

Finally, if you save

   !Heading


   Here's my first paragraph

   Here's my first paragraph

It should result in extra white space below the heading, effectively

    <h1>Heading</h1>
    <br />
    <p>Here's my first paragraph</p>
    <p>Here's my first paragraph</p>

(maybe?)  Actually, I'm thinking in terms of PmWiki output.  It should
result in something that looks like the XHTML here

   http://shebang.example.com/~installer/farm/farm.php?n=Main.WikiSandbox2c

rather than of the XHTML here

   http://shebang.example.com/~installer/farm/farm.php?n=Main.WikiSandbox2b

the difference being "having a <p class='vspace'>" or not.

Hagan




More information about the pmwiki-users mailing list