[Pmwiki-users] Embedded Comments
John Feezell
johnfeezell at 3wplace.com
Wed Jul 9 23:58:24 CDT 2003
Hi Dawn,
Thanks for the email. I need a little more help however. I'm new to
pmwiki and the use of $InlineReplacements. So I have two questions.
First, from the pm pages I assume that the $InlineReplacement line would go
in my local.php file. Is that correct?
Second, how exactly would the =hide replacement be used within a page?
I.e., what is its form?
Thanks.
BTW: How long have you been using pmwiki?
/JF
On Thu, 10 Jul 2003 00:22:38 -0400, Dawn Green <green at thunderdata.com>
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.
>
> 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