module documentation

pygments.plugin ~~~~~~~~~~~~~~~ Pygments plugin interface. By default, this tries to use ``importlib.metadata``, which is in the Python standard library since Python 3.8, or its ``importlib_metadata`` backport for earlier versions of Python. It falls back on ``pkg_resources`` if not found. Finally, if ``pkg_resources`` is not found either, no plugins are loaded at all. lexer plugins:: [pygments.lexers] yourlexer = yourmodule:YourLexer formatter plugins:: [pygments.formatters] yourformatter = yourformatter:YourFormatter /.ext = yourformatter:YourFormatter As you can see, you can define extensions for the formatter with a leading slash. syntax plugins:: [pygments.styles] yourstyle = yourstyle:YourStyle filter plugin:: [pygments.filter] yourfilter = yourfilter:YourFilter :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.

Function find_plugin_filters Undocumented
Function find_plugin_formatters Undocumented
Function find_plugin_lexers Undocumented
Function find_plugin_styles Undocumented
Function iter_entry_points Undocumented
Constant FILTER_ENTRY_POINT Undocumented
Constant FORMATTER_ENTRY_POINT Undocumented
Constant LEXER_ENTRY_POINT Undocumented
Constant STYLE_ENTRY_POINT Undocumented
def find_plugin_filters(): (source)

Undocumented

def find_plugin_formatters(): (source)

Undocumented

def find_plugin_lexers(): (source)

Undocumented

def find_plugin_styles(): (source)

Undocumented

def iter_entry_points(group_name): (source)

Undocumented

FILTER_ENTRY_POINT: str = (source)

Undocumented

Value
'pygments.filters'
FORMATTER_ENTRY_POINT: str = (source)

Undocumented

Value
'pygments.formatters'
LEXER_ENTRY_POINT: str = (source)

Undocumented

Value
'pygments.lexers'
STYLE_ENTRY_POINT: str = (source)

Undocumented

Value
'pygments.styles'