Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 171:4b87a9ecffdd | 172:ad80fcbf7b47 |
|---|---|
| 48 :Name: tokenreplace | 48 :Name: tokenreplace |
| 49 :Required Filter Options: | 49 :Required Filter Options: |
| 50 **token_from** | 50 **token_from** |
| 51 **Type:** :py:class:`str` or :py:class:`pygments.token.Token` | 51 **Type:** :py:class:`str` or :py:class:`pygments.token.Token` |
| 52 | 52 |
| 53 The name of a token type (like ``Error``) or a token object | |
| 54 (like :py:class:`pygments.token.Token.Error`). | |
| 55 | |
| 53 **token_to** | 56 **token_to** |
| 54 **Type:** :py:class:`str` or :py:class:`pygments.token.Token` | 57 **Type:** :py:class:`str` or :py:class:`pygments.token.Token` |
| 55 | 58 |
| 59 The name of a token type (like ``Generic.Error``) or a token object | |
| 60 (like :py:class:`pygments.token.Token.Generic.Error`). | |
| 61 | |
| 56 Replace all token types given in `token_from` by the token type given | 62 Replace all token types given in `token_from` by the token type given |
| 57 in `token_to`. | 63 in `token_to`. |
