|
Let us walk on the 3-isogeny graph
|
Functions | |
| iter_entry_points (group_name) | |
| find_plugin_lexers () | |
| find_plugin_formatters () | |
| find_plugin_styles () | |
| find_plugin_filters () | |
Variables | |
| str | LEXER_ENTRY_POINT = 'pygments.lexers' |
| str | FORMATTER_ENTRY_POINT = 'pygments.formatters' |
| str | STYLE_ENTRY_POINT = 'pygments.styles' |
| str | FILTER_ENTRY_POINT = 'pygments.filters' |
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-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
| find_plugin_filters | ( | ) |
Definition at line 86 of file plugin.py.
References i, and pip._vendor.pygments.plugin.iter_entry_points().

| find_plugin_formatters | ( | ) |
Definition at line 76 of file plugin.py.
References i, and pip._vendor.pygments.plugin.iter_entry_points().

| find_plugin_lexers | ( | ) |
Definition at line 71 of file plugin.py.
References i, and pip._vendor.pygments.plugin.iter_entry_points().

| find_plugin_styles | ( | ) |
Definition at line 81 of file plugin.py.
References i, and pip._vendor.pygments.plugin.iter_entry_points().

| iter_entry_points | ( | group_name | ) |
Definition at line 47 of file plugin.py.
References i, and pip._vendor.pygments.plugin.iter_entry_points().
Referenced by pip._vendor.pygments.plugin.find_plugin_filters(), pip._vendor.pygments.plugin.find_plugin_formatters(), pip._vendor.pygments.plugin.find_plugin_lexers(), pip._vendor.pygments.plugin.find_plugin_styles(), and pip._vendor.pygments.plugin.iter_entry_points().

