DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:htmlcomment

This is an old revision of the document!


HTML Comment

Compatible with DokuWiki

Rincewind, Angua, Adora Belle, Weatherwax, Binky

plugin Enables HTML comments.

Last updated on
2013-03-19
Provides
Syntax
Repository
Source
Conflicts with
ckgedit

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to comment, commentsrc, wrap

Tagged with annotations, hide

This is a very simple plugin that allows HTML style comments to be used in the wikitext. They will show up unchanged in the XHTML output. They will not be rendered by the browser, but can be viewed with “View source code” command. The syntax is exactly like in HTML:

<!-- This is a HTML comment -->

This can be useful, if you're post-processing the HTML output in some way, e.g. to produce PDF documents. Some converters can use special HTML comments to steer the conversion process.

Acknowledgments

This plugin is based on the comment plugin by Esther Brunner.

Installation

Simply install via the plugin manager with the download link.

Changes

New in version 1.1:

  • Incorporated changes made by Esther Brunner (see Discussion).
  • Defined constant HTMLCOMMENT_SAFE to allow to switch back to old behaviour.
  • Removed version number from plugin archive, since the plugin manager can't handle versioned archives.

=

plugin/htmlcomment.1393491879.txt.gz · Last modified: 2014-02-27 10:04 by 82.135.19.126