[Pmwiki-users] Embedded Comments
Dawn Green
green at thunderdata.com
Wed Jul 9 23:22:38 CDT 2003
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.
Dawn
John Feezell <johnfeezell at 3wplace.com> wrote:
> Is there a way to place embedded comments within a page so that they show
> in the edit window but not in the rendered HTML. This would be helpful in
> giving instructions to users of particular pages when they edit a page,
> e.g., [%comment]Please place your entry at the bottom of the page and
> remember to place ---- on a seperate line after it. Everything from
> [%comment] to the next LF would be treated like [= =] but would also not be
> rendered in the final HTML.
>
> Thanks.
>
>
>
> _______________________________________________
> 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