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.15.1.tar.gz (22.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.15.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygments_bsl-0.15.1.tar.gz
  • Upload date:
  • Size: 22.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.15.1.tar.gz
Algorithm Hash digest
SHA256 838948294ab99eb8fa8fb1369b7bcd77824d4129702c59f2e7208630c80954d7
MD5 0054aeee84e1059c5ad4858f588440d1
BLAKE2b-256 7de98177a27a602b71d8d968a5f5dc6def6ecb3f712fe93f374c50efbfc805e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygments_bsl-0.15.1-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 526ba41aaf69a0fccf8c56d3d6af6cc7019aaf76e7b100a01de7e81df89bec9b
MD5 3089835b66624b35316d21b728de06b2
BLAKE2b-256 828b8ab52ca545b4ce6dc4d92d8b46bfe1e0233d01a6ecf669034957f9f01808

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