Lexer->addSpecialPattern('\'\'',$mode,'plugin_mediasyntax_italic'); } function handle($match, $state, $pos, Doku_Handler $handler) { return array($match, $state, $pos); } function render($mode, Doku_Renderer $renderer, $data) { GLOBAL $italic; if($mode == 'xhtml') { if (!$italic) $renderer->doc .= ""; else $renderer->doc .= ""; if ($italic) $italic=false; else $italic=true; } return false; } } //Setup VIM: ex: et ts=4 enc=utf-8 :