DevelMarkup


Christian writes:

I'd like some directive that can be used to create the same effect as

(:markup:), but for directives that doesn'nt already exists.

Okay, here ya go, the (:dmarkup:) directive. It only works in the Test group on pmwiki.org at the moment.

The format is (:dmarkup:) followed by the code and results both in [=...=] blocks. Thus:

(:dmarkup:) * Bla bla (:new-markup oh, cool - this is in italics!:) * Bla bla ''oh, cool - this is in italics!''

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.13 00.12 MarkupToHTML end
 4: 00.13 00.12 MarkupToHTML begin
 5: 00.14 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.14 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.15 00.14 MarkupToHTML end
 8: 00.15 00.14 MarkupToHTML begin
 9: 00.15 00.14 MarkupToHTML end
10: 00.16 00.14 now
Peak memory: 3,392,672 bytes