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

John Rankin john.rankin at affinity.co.nz
Wed Mar 2 17:03:34 CST 2005


On Wednesday, 2 March 2005 5:37 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>A few other random ideas...
>
>                       class=Pm   id=Pm      divend
>    arrows             >>Pm       >>#Pm      >>
>    enclosing-arrows   >>Pm<<     >>#Pm<<    >><<
>    doubled-quotes:    ""Pm""     ""#Pm""    """"
>    curlies:           {{Pm}}     {{#Pm}}    {{}}
>    curlied-styles:    {%Pm%}     {%#Pm%}    {%%}
>    directived-styles: (%Pm%)     (%#Pm%)    (%%)
>    
>Pm
>
Hmmm... FWIW, I think the chosen markup ought to relate to
existing markup conventions if possible, rather than
introduce another convention to remember.

If / and [ are not suitable, the other simple "I'm about to 
span several chunks" markup is || for tables. What about:

|%classname #idname

where both classname and #idname are optional

The "||border=0" doesn't take a closing delimiter, so
the "|%" probably doesn't need one either

%|

Closes the div. Every other asymmetric open/close markup
is mirrored: [= ... =], '_ ... _' and so on. Hence:

|%

stuff

%|

The reservation I have about things like {%Pm%} is that 
they don't let me know that "I'm an opener and somewhere
there will be a bit of markup to close me". Similarly, 
things like {%%} don't (to me) look like "I'm a closer".

Just a thought...

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list