Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add ipython syntax highlighting to pygmentize?

I need syntax highlighting in a latex project, using the minted package I can use the pygments lexers, there is a lexer for ipython here.

How can I add this to pygments ?? (windows or OSX)

like image 377
canesin Avatar asked Jan 15 '14 17:01

canesin


1 Answers

Look at this github project:

https://github.com/sanguineturtle/pygments-ipython-console

This package provides a Pygments_ lexer for IPython Console Files. The lexer is published as an entry point and, once installed, Pygments will pick it up automatically.

like image 183
Leo Bontemps Avatar answered Oct 04 '22 21:10

Leo Bontemps