function handle($match, $state, $pos, &$handler) { // echo "handle: state=$state
"; // echo "handle: match=$match
"; // echo "handle: pos=$pos
"; ... function render($mode, &$renderer, $data) { if ($mode == 'xhtml') { $img = DOKU_BASE . 'lib/plugins/plantuml/img.php?' . buildURLParams($data);