[pmwiki-users] Re: Reason why pagetoc.php isn't used for Cookbook.Cookbook?

Patrick R. Michaud pmichaud at pobox.com
Tue Jun 21 14:08:35 CDT 2005


On Tue, Jun 21, 2005 at 08:59:15PM +0200, Joachim Durchholz wrote:
> Hmm... how about a "draft mode" where unknown markups display, and a 
> "view mode" where unknown markups are ignored? That could be done as a 
> per-group configuration, so that the preinstalled groups don't "look 
> funny" but people still see a markup that's unrecognized.

Still likely to be a local customization.  For those that want it, 
it's as simple as:

    # remove any unprocessed (:...:) sequences
    Markup('(:', '<restore', '/\\(:.*?:\\)/', '');

Pm



More information about the pmwiki-users mailing list