';
+ $renderer->doc .= '
';
break;
case DOKU_LEXER_UNMATCHED :
@@ -114,7 +111,7 @@ class syntax_plugin_note extends DokuWiki_Syntax_Plugin {
break;
case DOKU_LEXER_EXIT :
- $renderer->doc .= "\n
";
+ $renderer->doc .= "\n
";
break;
}
return true;
@@ -123,69 +120,161 @@ class syntax_plugin_note extends DokuWiki_Syntax_Plugin {
list($state, $data) = $indata;
- switch ($state) {
- case DOKU_LEXER_ENTER :
- $type = substr($data, 4);
- if ($type == "classic") {
- $type = "note"; // the icon for classic notes is named note.png
- }
- $colors = array("note"=>"#eeffff", "warning"=>"#ffdddd", "important"=>"#ffffcc", "tip"=>"#ddffdd");
- $renderer->autostyles["pluginnote"] = '
-