Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/lexer-algpseudocode.rst @ 207:76053daf813e
Extend the note in "Customized Lexers in Sphinx" somewhat
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 13 May 2026 15:18:27 +0200 |
| parents | b6a959c31bed |
| children | de7118d299e9 |
line wrap: on
line diff
--- a/docs/lexer-algpseudocode.rst Wed May 13 14:55:30 2026 +0200 +++ b/docs/lexer-algpseudocode.rst Wed May 13 15:18:27 2026 +0200 @@ -529,6 +529,10 @@ applied by default. This is also true for custom lexers that are added by :py:meth:`Sphinx.add_lexer`. + Using the `filters` option the user can associate custom filters + with a lexer. + These filters have precedence over the default `raiseonerror` + filter. Lexer *instances* that are added to :py:data:`sphinx.highlighting.lexers` somehow are taken as is by
