DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:diagram

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:diagram [2019-09-24 20:43] Aleksandrplugin:diagram [2021-01-28 00:12] – added fixes for Hogfather ach
Line 6: Line 6:
 email      : support@melnichenko.name email      : support@melnichenko.name
 type       : Syntax type       : Syntax
-lastupdate : 2012-12-23 +lastupdate : 2013-01-28 
-compatible : 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25 Angua, 2012-10-13 Adora Belle, 2014-09-29 Hrun, !2018-04-22 Greebo+compatible : 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25 Angua, 2012-10-13 Adora Belle, 2014-09-29 Hrun, !2018-04-22 Greebo, !Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 32: Line 32:
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 +===== Fixes to make the plugin work with Hogfather =====
  
 +Changes to syntax/main.php:
 +
 +<code diff>
 +153c153
 +< function handle ($match, $state, $pos, &$handler)
 +---
 +> function handle ($match, $state, $pos, Doku_Handler $handler)
 +182c182
 +< function render ($mode, &$renderer, $data)
 +---
 +> function render ($mode, Doku_Renderer $renderer, $data)
 +</code>
 +
 +Changes to syntax/splitter.php:
 +
 +<code diff>
 +160c160
 +< function handle ($match, $state, $pos, &$handler)
 +---
 +> function handle ($match, $state, $pos, Doku_Handler $handler)
 +189a190,194
 +> }
 +
 +> function render ($mode, Doku_Renderer $renderer, $data)
 +> {
 +> return true;
 +</code>
 +
 + --- [[user>ach|ach]] //2021-01-28 00:07//
plugin/diagram.txt · Last modified: 2023-10-30 23:45 by Klap-in

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