VoteOnNestedDivMarkup
PmWiki already supports a (:div1:)
, (:div2:)
, etc. syntax for nested divs... there have been proposals to add nesting capability with variants of the >>...<<
markup.
Previous discussions are available at
- http://www.pmichaud.com/pipermail/pmwiki-users/2007-February/039231.html
- PITS:00887
- http://www.pmichaud.com/pipermail/pmwiki-users/2007-April/041524.html
Use this page to cast your opinion. Ideally put your name and vote weight for each option you have an opinion on; for example, "Pm +1" means Pm likes an option, "Pm -1" means Pm dislikes an option, "Pm +2" and "Pm -2" indicate a strong like or dislike, and "Pm 0" is a neutral vote. It's okay to leave short (one sentence) comments on each proposal, but please keep them short. Longer comments can go on the VoteOnNestedDivMarkup-Talk page.
Essentially we have three proposed options. These options are not mutually exclusive -- i.e., we could potentially implement two or more of them.
Option 1: Increased numbers of >
's indicate nesting markers, as in >>>...<<<
This would extend the existing >>...<<
markup to allow >>>...<<<
, >>>>...<<<<
, etc. to indicate other levels of divs:
>>foo<< # outer div >>>bar<<< # 1st nesting >>>>baz<<<< # 2nd nesting
Votes:
- GNUZoo +2
- HansB +2
- Simon -2
- ScottConnard +1
- Hagan +2
- Kathryn Andersen +2
- Dfaure +1
- Roman +1
- TonyColley +1
- DaveG -2
- JonHaupt +2
- Blues +2
- Feral +1 -- This is consistent with header methodology, etc.
- PKHG +1
- NeI -2 -- Not EASY to read.
- Kellerfrau +2
- Luigi +1 -- This should be safe when including into another page, right?
Option 2: Add nesting markers as a prefix to >>...<<
For this option, an author could prefix >>...<<
with digits to indicate nesting markers, as in 1>>...<<
, 2>>...<<
, etc.
>>foo<< # outer div 1>>bar<< # 1st nesting 2>>baz<< # 2nd nesting
Votes:
- GNUZoo -2
- HansB -2
- Simon -1
- ScottConnard -2
- Hagan -1
- Kathryn Andersen -2
- Dfaure -2
- Roman -2
- TonyColley -1
- DaveG +2 Against the trend, but this makes more sense to me
- JonHaupt -2
- Blues -2
- Feral 0 -- I no longer use this style.
- PKHG -2
- NeI -1 Cleaner than 1, not clean enough though
Option 3: Add nesting marker inside of >>...<<
This is a variation on the above, where any nesting marker appears immediately
inside the first >>
, as in >>1 ...<<
, >>2 ...<<
, etc.
>>foo<< # outer div >>1 bar<< # 1st nesting >>2 baz<< # 2nd nesting
Votes:
- GNUZoo -2
- HansB +1
- Simon +2
- ScottConnard +1
- Hagan +1
- Kathryn Andersen +0
- Dfaure +2
- Roman +2
- TonyColley +2
- DaveG +1
- JonHaupt +1
- Blues 0
- Feral +2 -- Counting angel brackets is a pain so I prefer this to option 1.
- PKHG +2 agree to Feral's meaning
- NeI +2 Agree with Feral; tho I think >>foo 1<< >>bar 2<< would be still easier to read.
Combining two or more of the above
If anyone is strongly in favor or opposed to implementing more than one of the above options, register your vote/comments here.
1 and 3
Votes
- HansB +1
- Hagan +1
- Kathryn Andersen +1
- Dfaure +2
- Roman +1
- TonyColley -1
- JonHaupt +1
- Blues 0
- Feral 0
- PKHG +1 tasts are different ;-)
Implement only one option
Votes
- Simon +2
- ScottConnard +2
- Kathryn Andersen +2
- Dfaure +1
- TonyColley +2
- DaveG +2
- Blues +1
- Feral +1 -- Less confusion is probably a good idea;
- PKHG 0 because I am a newbie to PmWiki
- NeI +2 There shall be only ONE! What use are two? None!
- Kellerfrau +2
Side Comments
Keep side comments here short... for longer comments, use the VoteOnNestedDivMarkup-Talk page.
My personal thought is that >><<
for a end to end style as we have, if we want numbers use the div directive, and if we want id less and nestable, then something like >>><<<
; (PITS:00887#Proposal2). I have more thoughts on this on the Talk page.