Pygments 1C (BSL, SDBL) lexer


License
MIT
Install
pip install pygments-bsl==0.4

Documentation

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: