Skip to main content

Extend the Python syntax highlighter with some custom lexers and styles.

Project description

Extend the Python syntax highlighter with some custom lexers and styles.

https://pygments.org/docs/plugins/

pip install --user "pygments[plugins]"
pip install --user jf_pygments

https://python-poetry.org/docs/pyproject/#plugins

[tool.poetry.plugins]

[tool.poetry.plugins."pygments.styles"]
white = "jf_pygments:WhiteStyle"
baldr = "jf_pygments:BaldrStyle"

[tool.poetry.plugins."pygments.lexers"]
baldrsql = "jf_pygments:BaldrSqlLexer"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jf_pygments-0.3.0.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

jf_pygments-0.3.0-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page