dockerwiki/content/inc/Parsing/ParserMode/Notoc.php
2021-10-26 13:02:53 +02:00

20 lines
312 B
PHP

<?php
namespace dokuwiki\Parsing\ParserMode;
class Notoc extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
{
$this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
}
/** @inheritdoc */
public function getSort()
{
return 30;
}
}