changemarks plugin

changemarks plugin by Gina Häußge, Michael Klier
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.
Compatible with DokuWiki >= 2006-11-06.

Similar to highlight, hilited, inserted.

Tagged with highlight, typography.

    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

    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.txt · Last modified: 2009/10/08 18:33 by laynee
     
    Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
    Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
    WikiForumIRCBugsGitXRefTranslate