Pygments is a syntax highlighting tool.
Online example Zensical with pygments-bsl support https://zeegin.github.io/pygments-bsl/
pygments-bsl used in:
Syntax rules adopted from https://github.com/1c-syntax.
$ pip install pygments-bsl
python -m pip install -e .python -m pip install --upgrade build
python -m buildpython -m pip install --upgrade pytest
pytest
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python tools/check_dist.pypython3.12 -m venv .venv-docs
source .venv-docs/bin/activate
pip install --upgrade pip
pip install -e .
pip install "zensical==0.0.24"
zensical servePython 3.10+ is required. The command above uses Python 3.12 because that's the tested docs environment. The docs environment is separate from the package's main runtime.
python tools/generate_data.pypygmentize "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"