# HG changeset patch # User Franz Glasner # Date 1778678307 -7200 # Node ID 76053daf813ea2a905808b77a9f02c5ab50b77ac # Parent 4e4c83a873871aca73ff25df064cb74cc9ffd80d Extend the note in "Customized Lexers in Sphinx" somewhat diff -r 4e4c83a87387 -r 76053daf813e docs/lexer-algpseudocode.rst --- 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