Pygments is a syntax highlighting tool.
Online example MkDocs 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
pip install .
python -m build
pytest
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"