dockerwiki/content/inc/Parsing/ParserMode/Notoc.php

20 lines
312 B
PHP
Raw Normal View History

2021-10-26 13:02:53 +02:00
<?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;
}
}