package documentation
pygments.filters ~~~~~~~~~~~~~~~~ Module containing filter lookup functions and default filters. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.
From __init__.py
:
Class |
|
Highlight special code tags in comments and docstrings. |
Class |
|
Gobbles source code lines (eats initial characters). |
Class |
|
Convert keywords to lowercase or uppercase or capitalize them, which means first letter uppercase, rest lowercase. |
Class |
|
Highlight a normal Name (and Name.*) token with a different token type. |
Class |
|
Raise an exception when the lexer generates an error token. |
Class |
|
Convert mathematical symbols such as \<longrightarrow> in Isabelle or \longrightarrow in LaTeX into Unicode characters. |
Class |
|
Merges consecutive tokens with the same token type in the output stream of a lexer. |
Class |
|
Convert tabs, newlines and/or spaces to visible characters. |
Exception |
|
Undocumented |
Function | find |
Lookup a filter by name. Return None if not found. |
Function | get |
Return a generator of all filter names. |
Function | get |
Return an instantiated filter. |
Constant | FILTERS |
Undocumented |
Function | _replace |
Undocumented |
Return an instantiated filter. Options are passed to the filter initializer if wanted. Raise a ClassNotFound if not found.
Undocumented
Value |
|