plugin:changemarks
This is an old revision of the document!
Table of Contents
changemarks plugin
Compatible with DokuWiki
>= 2006-11-06
Download | plugin-changemarks.tgz |
---|
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
- An error occurred while fetching this feed: http://github.com/feeds/dokufreaks/commits/plugin-changemarks/master
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 pageswiki/dokuwiki
andwiki/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