[Pmwiki-users] Embedded Comments

Giles Williams giles at aegidian.org
Thu Jul 10 12:59:22 CDT 2003


I tried this and found it a little inaccurately written, I used the 
following instead:-

$InlineReplacements["/^=hide\s+([\S\s]*)\$/"] = "<!-- '$1' -->";

Thanks for the suggestion though! Very useful!

-- Giles.
http://thor.acedragon.co.uk/tntwki/

On Thursday, July 10, 2003, at 05:22 AM, Dawn Green wrote:

> Until Patrick comes up with the latest %comment% release, you may 
> consider
> using $InlineReplacements.  I wrote the following markup:
>
> $InlineReplacements["/^=hide\\s+([^\\s']*)\$/"] = "<--! '$1' -->";
>
> When my clients want to hide a comment in the Edit box, they use the 
> markup
> '=hide' to comment out the text.





More information about the pmwiki-users mailing list