Enable a style in Pygments Python package for highlighting customized 'friendly' code. Notably, this can be coupled with Sphinx Python documentation generator.
python -m pip install enigma-pygments-style==2020.7.8.2
Please run the following commands in the Python Interpreter:
>>> from pygments.styles import get_all_styles
>>> list(get_all_styles())
And verify that you have a new Pygments style named enigmalexer
To use this freshly installed Pygment style, you finally need to add the following line to your conf.py file:
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'enigmalexer'
To modify it, please take a look at the file enigmalexer.py