문제

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)

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top