This package provides a Q programming language lexer for pygments.
The lexer is published as an entry point and, once installed, pygments will pick it up automatically.
You can then use the q
language with pygments::
$ pygmentize test.q
Use your favorite installer to install pygments-q into the same Python you have installed pygments. For example:
$ pip install pygments-q
To verify the installation run:
$ pygmentize -L lexer | grep -w q
* q:
Q (filenames *.q)