[pmwiki-users] Re: Re: <div> markup suggestions...?

Patrick R. Michaud pmichaud at pobox.com
Thu Mar 3 13:50:22 CST 2005


On Thu, Mar 03, 2005 at 01:07:48PM -0600, Jonathan Scott Duff wrote:
> >     >>Pm<<
> >     This is stuff written by Pm
> 
> Sure it reads well, but what does it *mean*?  If you're applying a Pm
> style, there should be % somewhere.   If you're just naming the
> division then this is okay I guess.

Okay, then:

    >>%Pm%<<  -- block using the Pm WikiStyle
    >>#Pm<<   -- block named "Pm"  (anchor)
    >>Pm<<    -- block using Pm CSS class (which may or may not be
                 the same as the wikistyle)

> How about ====?  People often use horizontal rules to divide their
> pages into sections, this would just be an extra special hr :-)

Well, there's two issues:

   - Several markup languages use '===' for headings (PmWiki's '!!!'),
     and some people/sites are likely to want to preserve that
     (and I don't want to prevent it).

   - In the past I've stated that lines beginning with '=' are reserved
     for custom markup -- i.e., that PmWiki wouldn't define such a sequence.
     So, I'd have to retract that position, or at least say that it no
     longer applies to v2.  I don't have a big problem with doing this,
     as there have been several times (including now) that I wish I
     had '=' available to me and wish I had reserved a slightly longer
     sequence.  And perhaps our need to reserve a markup for local
     customization is now reduced since we tend to use (:...:) for
     custom things.

Pm



More information about the pmwiki-users mailing list