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

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 1 10:15:46 CST 2005


On Tue, Mar 01, 2005 at 12:01:09PM +0100, Stefano wrote:
> Il Mon, 28 Feb 2005 15:40:35 -0600, "Patrick R. Michaud"
> <pmichaud at pobox.com> scrive:
> 
> >Oh, the (:div:) will continue to use standard html markup for the
> >attributes in the same way that (:table:) does -- I'm mainly asking
> >for suitable candidate shortcuts to indicate the equivalent of
> >(:div class='XYZ':) and/or (:div id='XYZ':).
> 
> I don't think a shortcut is necessary, i know there is one for tables
> (||) but i don't felle the need for same on div. 

You (and others) may be right that a shortcut isn't necessary.  I just
know that instead of writing

    (:div class='box':)
    Everything that appears below here is in a box.

    This is another paragraph, but still in the box.
    (:divend:)

it'd be nicer to write something like (again using tildes only for
demonstration):

    ~~box
    Everything that appears below here is in a box.

    This is another paragraph, but still in the box.
    ~~

> If you will make one
> i suggest to use asomithing not "exotic" as ~~ that's not accessible
> directly from itlian keyboard as bacquotes.

Well, this sorta contradicts your earlier statement that the
shortcut isn't necessary -- if a shortcut isn't really needed,
then it doesn't hurt if it's exotic.  :-)

> Maybe §§ could be a good one

Actually, there have been many times that I've wanted to use § for
markup -- it's incredibly useful (and appropriate).  Unfortunately,
it doesn't exist on standard US keyboards.

All of this feedback has been very useful; I think I'm simply
going to let any shortcut slide for now until people start clamoring
for one or we have an "obvious" answer.

Thanks.

Pm



More information about the pmwiki-users mailing list