##// END OF EJS Templates
Select adequate highlighter for cell magic languages...
Select adequate highlighter for cell magic languages Detect cells that use language extension magics such as %%R or %%bash and call the appropriate pygmentize lexer. Closes #4184

File last commit:

r2058:7e8fc59a
r12571:009a294c
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()