12345678910111213141516171819 |
- <?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;
- }
- }
|