DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:changemarks

This is an old revision of the document!


changemarks plugin

Compatible with DokuWiki

>= 2006-11-06

plugin This plugin is used to mark portions of text as inserted, deleted or highlighted. It replaces the older Inserted and Hilited plugins. (previous authors: Esther Brunner)

Last updated on
2008-02-12
Provides
Syntax

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 highlight, hilited, inserted

Tagged with highlight, typography

Description

This plugin is used to mark portions of text as inserted, deleted or highlighted. It replaces the older inserted and hilited plugins.

Unlike the older plugins and unlike the markup for deleted built in to DokuWiki, you may specify a title which will appear as a tooltip in the browser.

Components

++title>text++ <ins title>text</ins>

Inserted

++[title]>[text]++
<ins [title]>[text]</ins>
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as inserted; other formatting markup may be used inside required

Deleted

--[title]>[text]--
<del [title]>[text]</del>
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as deleted; other formatting markup may be used inside required

Hilited

!![title]>[text]!!
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as highlighted; other formatting markup may be used inside required

Bugs / Feature Requests

Please report bugs or feature requests at the Bug tracker.

Further Resources

Changes

Discussion

The use of the “-->” markup to indicate deleted text is rather unfortunate because Dokuwiki already uses two hyphens to indicate an en-dash, and this results in unexpected rendering in some cases. For instance, I had to replace en-dash markups in pages wiki/dokuwiki and wiki/syntax in my local installation to have them properly displayed. Presumably, this problem could be fixed by using a different markup (I've locally replaced “-->” with “@@>”) or by using an improved regular expression. Miquel Cabañas
I'm experiencing the same problem and I would suggest an updated version of this plugin where only “<del></del>” is working and not double dash. Maybe also “++” should be removed, for the sake of symmetry. /Peter Åström
plugin/changemarks.1286715408.txt.gz · Last modified: 2010-10-10 14:56 by lupo49

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki