module documentation

Pygments setuptools plugin interface. The methods defined here also work if setuptools isn't installed but they just return nothing.

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
Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant FILTER​_ENTRY​_POINT Undocumented
Constant FORMATTER​_ENTRY​_POINT Undocumented
Constant LEXER​_ENTRY​_POINT Undocumented
Constant STYLE​_ENTRY​_POINT Undocumented
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
FILTER_ENTRY_POINT: str =

Undocumented

Value
'pygments.filters'
FORMATTER_ENTRY_POINT: str =

Undocumented

Value
'pygments.formatters'
LEXER_ENTRY_POINT: str =

Undocumented

Value
'pygments.lexers'
STYLE_ENTRY_POINT: str =

Undocumented

Value
'pygments.styles'
def find_plugin_filters():

Undocumented

def find_plugin_formatters():

Undocumented

def find_plugin_lexers():

Undocumented

def find_plugin_styles():

Undocumented

def iter_entry_points(group_name):

Undocumented