Pygments support The procyonlexer package teaches Pygments how to highlight .pn files. To use it, install the package. Pygments will detect it as a plugin: pip install . pygmentize ../../doc/lang.pn | expand -t2