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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jf_pygments-0.3.0.tar.gz.

File metadata

  • Download URL: jf_pygments-0.3.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for jf_pygments-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2e6227d383729fe86de590e4bf94c21470ba229d8aeb2f4cc56f0a6db5c5cd4b
MD5 073ac0acf2c39108a828e66e2a5064b0
BLAKE2b-256 082302ddd0750e743438ccaae3da35dda20dd36da56442f2431688746f3c3b77

See more details on using hashes here.

File details

Details for the file jf_pygments-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: jf_pygments-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for jf_pygments-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0575be7130b36393a007cb9baf498996a36d31e72e081eaeae12583d65f4657a
MD5 a58b8016efbfe14061319094ac7366a6
BLAKE2b-256 fa4b28580e109782d96fd5fe599152144fa8d80190f866a42285e3a7cd5ba655

See more details on using hashes here.

Supported by

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