Pygments API

Pygments
The service provides syntax highlighting for web applications without Python installed. It accepts submission of a code selection and code selection with a designation of programming language and generates a version of the code with color highlighting calling out programming statements from that language. The returned 'pygmentized' HTML can be stored locally to the requesting system or directly displayed using CSS formatting. API methods support submission of the desired code sample and programming language attribute. The list of programming languages detected and highlighted include over 200 individual languages and combinations, such as HTML + PHP.