Skip to main content

Pygments 1C (BSL, SDBL) lexer

Project description

PyPI version

pygments-bsl

Pygments_ is a syntax highlighting tool that supports a wide range of languages and data formats.

Made for MkDocs https://www.mkdocs.org. Online example https://zeegin.github.io/pygments-bsl/

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

Install

$ pip install pygments-bsl

Install local

pip install .

Build

python -m build

Test

pytest

Usage

Pygment json highlighting is available without any further customization from code as well as from the pygementize command:

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"

Used:

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.1.tar.gz (16.1 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.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pygments-bsl-0.12.1.tar.gz.

File metadata

  • Download URL: pygments-bsl-0.12.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pygments-bsl-0.12.1.tar.gz
Algorithm Hash digest
SHA256 110db438815e6ba67e298e18a4ae453879e92569bd3af8134691d1b215cb8aa2
MD5 40dd9a0fcba4a63bc9f7b8f5bef4efef
BLAKE2b-256 b86fd9c85da301105919e8c151fa72a5b514dbfc6c2c034819e02ce8f7384282

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygments_bsl-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c00f973424741ec11048a0c327e2d401d1448430834abc78d126e7acbb4b6fe7
MD5 ba1b4e2f38a4f90f455160d038cb6ae5
BLAKE2b-256 cf1a2ad1c62f7e8f7beeafcab9917e6917dce2b2ab4f08483f78f904999f912e

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