[Pmwiki-users] Embedded Comments

Patrick R. Michaud pmichaud at pobox.com
Thu Jul 10 13:22:02 CDT 2003


And I think as a general rule I would suggest "=comment" instead of "=hide",
but this is of course up to the WikiAdministrator.  :-)

Pm


On Thu, Jul 10, 2003 at 06:59:22PM +0100, Giles Williams wrote:
> 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.
> 
> 
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> 




More information about the pmwiki-users mailing list