Pygments 1C (BSL, SDBL) lexer
Project description
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"
- _Pygments: http://pygments.org/
- _pygments-bsl: https://github.com/zeegin/pygments-bsl
- _PyPI: http://pypi.python.org/pypi
- _pip: http://www.pip-installer.org/
Used:
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pygments_bsl-0.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c00f973424741ec11048a0c327e2d401d1448430834abc78d126e7acbb4b6fe7 |
|
MD5 | ba1b4e2f38a4f90f455160d038cb6ae5 |
|
BLAKE2b-256 | cf1a2ad1c62f7e8f7beeafcab9917e6917dce2b2ab4f08483f78f904999f912e |