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.13.1.tar.gz (18.4 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.13.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygments_bsl-0.13.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygments_bsl-0.13.1.tar.gz
Algorithm Hash digest
SHA256 1194383b1f0f4069199f66d452dbd8bfb016e895ec3a9cfa4c2533f1c6e517af
MD5 4d2f9b9c6ccbaeaf642981c71e22bf4f
BLAKE2b-256 6486f0f1e6d989495b8010c7bba15ac93e2f9b9b52f62239afcdd6936ac9eebf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygments_bsl-0.13.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pygments_bsl-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c241c6c7439a10f61e3805435f92c5fb75e2c7bc836c72cdf7bda6b3910ca2d4
MD5 514a2b30d09676f7e0f6a744dc5fbfdd
BLAKE2b-256 fc2fd2450726a0206417906c0b91efd49f363571f734fb6ea656a5423cb2b64b

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