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