I have a directive at the beginning of a wiki page.
I would want the directive to dynamically modify at run-time the remaining 
wiki content of the page and then let pmwiki process it. 
The dynamic change would not save or make permanent changes to the page.

example:

=====page begin

(:directive:)
(:div:)
Some text....
(:divend:)
(:div:)
Some more text....
(:divend:)

=====page end

The (:directive:) would find each (:div:) on page and add a class, so the page 
becomes:

=====page modified begin

(:div class='blue':)
Some text....
(:divend:)
(:div class='blue':)
Some more text....
(:divend:)

=====page modified end

What would be the method to achieve this?
Is there a variable that has the content of the page so I can modify it 
dynamically before its gets processed?

-- 
Regards,
V.Krishn

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to