[pmwiki-users] Nested div markup

Kathryn Andersen kat_lists at katspace.homelinux.org
Thu Feb 15 14:52:15 CST 2007


On Thu, Feb 15, 2007 at 09:18:55AM -0600, Patrick R. Michaud wrote:
> At http://www.pmwiki.org/wiki/PITS/00887, Feral has
> proposed a very interesting markup for nested divs that 
> I'm considering and could use some comments/feedback.
[snip]
> I kind of like this -- it eliminates the need to count angle
> brackets, and makes the relationship between 1>>...<< and
> (:div1:) more explicit.
> 
> On the downside, most other things involving "levels" in PmWiki
> use repetitions of the same character, as in headings (!!, !!!, !!!!),
> lists (*, **, ***), etc.  So this might be a little inconsistent.

I do like the multiple angle brackets for this reason, and because they
look more tidy.  But once you do get beyond 3 or 4 brackets, it *will*
become difficult to be counting all the brackets, and prone to error.
The question is, how deeply are people going to need to nest their divs?
Me, so far, I haven't done any nesting deeper than two levels, but I
can't speak for other people.
 
> Another option would be to put div level markers on the inside
> of the angle brackets, thus  >>1 ...<<, >>2 ...<<, etc. to
> correspond to (:div1:), (:div2:), etc.
 
I'm not sure which one is better here...

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list