[pmwiki-users] Suppress HTML comments from template in output

michael paulukonis xraysmalevich at gmail.com
Fri Jan 31 14:19:44 CST 2014


In general, PmWiki is outputting all the HTML from your template unaltered,
so that would include comments.

However, you can inline pmwiki-markup via <!--markup:...--> per
http://www.pmwiki.org/wiki/PmWiki/SkinTemplates

Maybe something along the lines of (personally untested): <!--markup:(:if
false:) this is a wiki-comment that won't be rendered.(:ifend:)-->

-Michael Paulukonis
http://www.xradiograph.com
<http://goog_2112721603>Interference Patterns (a
blog)<http://www.xradiograph.com%5Cinterference>
@XraysMonaLisa <https://twitter.com/XraysMonaLisa>
http://michaelpaulukonis.com
<http://www.BestAndroidResources.com>

Sent from somewhere in the Cloud
(hearthrug, by the fender)


On Fri, Jan 31, 2014 at 12:37 PM, Oliver Betz <list_ob at gmx.net> wrote:

> Hi All,
>
> not really important, more out of curiosity: Is there a simple way to
> suppress the HTML comments from the template directives?
>
> For example <!--PageHeaderFmt--> etc.
>
> TIA,
>
> Oliver
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20140131/7258bab0/attachment.html>


More information about the pmwiki-users mailing list