Skip to main content

Pygments 1C (BSL, SDBL) lexer

Project description

PyPI - Version

pygments-bsl

Pygments is a syntax highlighting tool.

Who uses Pygments?

Online example MkDocs with pygments-bsl support https://zeegin.github.io/pygments-bsl/

pygments-bsl used in:

Syntax rules adopted from https://github.com/1c-syntax.

Install

$ pip install pygments-bsl

Install local

pip install .

Build

python -m build

Test

pytest

Usage

pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.bsl"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.os"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\sdbl\samples.sdbl"

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

pygments_bsl-0.12.2.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygments_bsl-0.12.2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pygments_bsl-0.12.2.tar.gz.

File metadata

  • Download URL: pygments_bsl-0.12.2.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pygments_bsl-0.12.2.tar.gz
Algorithm Hash digest
SHA256 6c4c907fa6488b6f3736c724743a708cfeddffd685ced8495b52d4d78a84f347
MD5 87450e3b3e4c178fc018b7993acd6494
BLAKE2b-256 99fd54fd91e0829a7f1ea7d0652ffe79150817f6a67e8ddb57129bc2500852a2

See more details on using hashes here.

File details

Details for the file pygments_bsl-0.12.2-py3-none-any.whl.

File metadata

  • Download URL: pygments_bsl-0.12.2-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pygments_bsl-0.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 463e45b2724621a2692f4efdc705957864f3da0cb7a9193ad6432d2b73e0d55e
MD5 fbb26cf25caa8a3d4760b5ea9cff343c
BLAKE2b-256 38b2ef6bd7337a8f7a00303cabdc2c2174d54da5d58c767d9a6e13ddc429bed0

See more details on using hashes here.

Supported by

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