[pmwiki-users] nesting divs and tables

Kathryn Andersen kat_lists at katspace.homelinux.org
Sat Aug 5 17:55:13 CDT 2006


On Sat, Aug 05, 2006 at 08:12:54PM +0200, Dominique Faure wrote:
> On 8/5/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Sat, Aug 05, 2006 at 08:53:13AM -0400, Pico wrote:
> > > Patrick R. Michaud wrote:
> > > >I'm experimenting with a feature on pmwiki.org to allow nesting
> > > >(:table:) within (:div:), (:div:) within (:table:), and divs
> > > >within divs.  (Nesting of table directives still isn't supported.)
> > > >
> > > >See http://www.pmwiki.org/wiki/Test/NestTableAndDiv for some samples.
> > > >
> [...]

> I would suggest to add some separators, which could both improve the
> readability and lower the risks of conflicting names. For example:
> 
>   (:div[abc xyz]:)
>   (:div[abc xyz]end:)
> 
> This could even be used to provide some structural guidelines to the
> page content.

Heh, if you're going to go that far, would it make sense to just add an
argument to div and divend?

        (:div level=1:)
        (:divend level=1:)

        (:div level=abc:)
        (:divend level=abc:)

Or would that be too verbose and therefore annoying?

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