diff docs/filters.rst @ 172:ad80fcbf7b47

Docs formatting
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 11 May 2026 14:49:52 +0200
parents bff8b900713a
children 63b52570795f
line wrap: on
line diff
--- a/docs/filters.rst	Mon May 11 14:38:59 2026 +0200
+++ b/docs/filters.rst	Mon May 11 14:49:52 2026 +0200
@@ -50,8 +50,14 @@
    **token_from**
      **Type:** :py:class:`str` or :py:class:`pygments.token.Token`
 
+     The name of a token type (like ``Error``) or a token object
+     (like :py:class:`pygments.token.Token.Error`).
+
    **token_to**
      **Type:** :py:class:`str` or :py:class:`pygments.token.Token`
 
+     The name of a token type (like ``Generic.Error``) or a token object
+     (like :py:class:`pygments.token.Token.Generic.Error`).
+
 Replace all token types given in `token_from` by the token type given
 in `token_to`.