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 |