====== changemarks plugin ======
---- plugin ----
description: 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)
author : Gina Häußge, Michael Klier
email : dokuwiki@chimeric.de
type : syntax
lastupdate : 2008-02-12
compatible : >= 2006-11-06
depends :
conflicts :
similar : hilited, inserted
tags : typography, highlight
downloadurl: http://www.chimeric.de/_src/plugin-changemarks.tgz
----
^ Download | [[http://www.chimeric.de/_src/plugin-changemarks.tgz|plugin-changemarks.tgz]] |
===== Description =====
This plugin is used to mark portions of text as inserted, deleted or highlighted. It replaces the older [[plugin:inserted|inserted]] and [[plugin:hilited|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++
text
==== Inserted ====
++[title]>[text]++
[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 inserted; other formatting markup may be used inside | required |
==== Deleted ====
--[title]>[text]--
[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 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 [[http://github.com/dokufreaks/plugin-changemarks/issues|Bug tracker]].
===== Further Resources =====
* [[http://github.com/dokufreaks/plugin-changemarks/tree/master|Git Repository]]
* [[http://github.com/dokufreaks/plugin-changemarks/issues|Bug Tracker]]
===== Changes =====
{{rss>http://github.com/feeds/dokufreaks/commits/plugin-changemarks/master date}}
===== 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.cabanas@uab.cat | Miquel Cabañas]]
>> I'm experiencing the same problem and I would suggest an updated version of this plugin where only "" is working and not double dash. Maybe also "++" should be removed, for the sake of symmetry. /Peter Åström