aimms-pygments-style

aimms-pygments-style is a colorful style for Pygments, especially adapted for AIMMS language


Keywords
pygments, syntax, highlighting
License
GPL-2.0
Install
pip install aimms-pygments-style==2020.5.4

Documentation

AIMMS Pygments Style

Enable a style in Pygments Python package for highlighting AIMMS code. Notably, this can be coupled with a proper AIMMS lexer, and Sphinx Python documentation generator.

Install

python -m pip install aimms-pygments-style

Verify it is working

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 aimmslexer

Modifying style rules

To modify it, please take a look at the file aimmslexer.py and Pygments Style documentation