devel:syntax_plugins
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:syntax_plugins [2016-12-05 08:43] – [Syntax Plugins] 82.135.221.214 | devel:syntax_plugins [2017-07-25 12:10] – [Sort Number] belonging two => belonging to two 109.218.95.146 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Syntax Plugins ====== | ====== Syntax Plugins ====== | ||
- | [[plugintype> | + | [[plugintype> |
===== Synopsis ===== | ===== Synopsis ===== | ||
Line 158: | Line 158: | ||
==== Sort Number ==== | ==== Sort Number ==== | ||
- | This number is used by the lexer((the part of the parser which analyses the raw wiki page)) to control the order it tests the syntax mode patterns against raw wiki data. It is only important if the patterns belonging two or more modes match the same raw data - where the pattern belonging to the mode with the lowest sort number will win out. | + | This number is used by the lexer((the part of the parser which analyses the raw wiki page)) to control the order it tests the syntax mode patterns against raw wiki data. It is only important if the patterns belonging |
You can make use of this behaviour to write a plugin which will replace or extend a native DokuWiki handler for the same syntax. | You can make use of this behaviour to write a plugin which will replace or extend a native DokuWiki handler for the same syntax. |
devel/syntax_plugins.txt · Last modified: 2023-09-01 23:53 by Klap-in