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.21 00.20 MarkupToHTML begin
 3: 00.22 00.21 MarkupToHTML end
 4: 00.22 00.21 MarkupToHTML begin
 5: 00.23 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.24 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.24 00.23 MarkupToHTML end
 8: 00.24 00.23 MarkupToHTML begin
 9: 00.25 00.23 MarkupToHTML end
10: 00.25 00.24 now
Peak memory: 3,722,048 bytes