for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dokuwiki\ParserMode;
class Unformatted extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
$this->Lexer->addEntryPattern('<nowiki>(?=.*</nowiki>)', $mode, 'unformatted');
$this->Lexer->addEntryPattern('%%(?=.*%%)', $mode, 'unformattedalt');
}
public function postConnect()
$this->Lexer->addExitPattern('</nowiki>', 'unformatted');
$this->Lexer->addExitPattern('%%', 'unformattedalt');
$this->Lexer->mapHandler('unformattedalt', 'unformatted');
public function getSort()
return 170;