示例#1
0
function geshi_html_html_comment(GeSHiContext &$context)
{
    $context->addDelimiters('<!--', '-->');
    //$this->_contextStyleType = GESHI_STYLE_COMMENTS;
}
示例#2
0
function geshi_php_phpdoc_comment_htmltag(GeSHiContext &$context)
{
    $context->addDelimiters('REGEX#<[/a-z_0-6]+#i', '>');
    $context->setComplexFlag(GESHI_COMPLEX_PASSALL);
}