[pmwiki-users] Nested Blocks (tables, divs, etc)
Ed W
lists at wildgooses.com
Sun Feb 22 09:14:31 CST 2009
Not even a single bite over this one?
Ed
Ed W wrote:
> Hi, I am looking through the code in stdmarkup.php, in particular the
> Cells function and wondering why we don't offer (automatic) nested
> tables/divs, etc?
>
> There seems already to be the option to have markup like (:divN:) which
> nests only because it's seen as a different $key in the Cells function.
> However, it would also appear to be fairly simple to make this "N"
> autoincrement on it's own and simply track nesting that way? eg
> introduce something like $nest[$key] and use this as the "N"
> (automatically) in the (:divN:) syntax?
>
> This doesn't seem to change or break anything obvious. We could nest
> divs before, now we can just do it without having to manually number them.
>
> Comments? Would a patch be accepted?
>
> Ed W
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list