Hi,I've been trying to understand how I could allow headers nested within a syntax plugin, and I haven't been able to find it in the documentation. In particular, using the getAllowedTypes() method, I managed to allow the modes I wanted, except for headers.
I saw in the inc/parser/parser.php : $this->Lexer->addSpecialPattern( '[ \t]*={2,}[^\n]+={2,}[ \t]*(?=\n)', 'base', 'header' );Does the third line means that anyway headers will only be allowed if we aren't in a specific mode, and thus, won't be allowed in a syntax plugin ?
If I'm wrong, how could I manage to allow such headers ? Thanks in advance for your answers, Guillaume -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist