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.23 00.21 MarkupToHTML begin
 3: 00.24 00.23 MarkupToHTML end
 4: 00.25 00.23 MarkupToHTML begin
 5: 00.26 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 6: 00.26 00.24 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 7: 00.27 00.25 MarkupToHTML end
 8: 00.27 00.25 MarkupToHTML begin
 9: 00.27 00.25 MarkupToHTML end
10: 00.27 00.25 now
Peak memory: 3,752,608 bytes