[pmwiki-users] Divisions, IDs and Styles

Hans hans.bracker at googlemail.com
Thu Aug 10 12:34:48 CDT 2006

I was playing around with the new division nesting feature,
trying to create a hidden treelike structure
(see example at http://www.pmwiki.org/wiki/Cookbook/ShowHide)
and have  a few questions regards divisions:

1. Do the new (:div1:)  (:div1end:) etc directives also apply to
>>div1<< >>div1end<< or not?

2. As div1 div2 etc gets used as a div identifier internally for
pmwiki, can it please be extended to be used as the div's id, if no id
is provided?
So (:div3:) is the same as (:div3 id=div3:), but (:div3 id=somediv:)
has id=somediv, not div3.
This would make it a lot simpler to build nested menus etc, shortening
the markup code.

3. Can I mix freely (:div1:) and >>div<< type divisions?

4. (:div:) and >>div<< take a different approach to applying styles.
(:div:) needs (:div style='[css style definitions]':), but
>>div<< needs >>div [wiki style definition] [wiki style definition] ...<<
Could that be unified somehow, to allow wiki style definitions inside
(:div ...:)?


More information about the pmwiki-users mailing list