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

Uploaded Source

Built Distribution

pygments_bsl-0.12.1-py3-none-any.whl (16.0 kB view hashes)

Uploaded Python 3

Supported by

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