##// END OF EJS Templates
Make IPyLexer available in Pygments as 'ipython' and 'ipython3'.
chebee7i -
Show More
@@ -23,5 +23,5 b' ipy = IPyLexer(python3=False)'
23 ipy3 = IPyLexer(python3=True)
23 ipy3 = IPyLexer(python3=True)
24 ipy3.aliases = ['ipy3']
24 ipy3.aliases = ['ipy3']
25
25
26 highlighting.lexers['ipy'] = ipy
26 highlighting.lexers['ipython'] = ipy
27 highlighting.lexers['ipy3'] = ipy3
27 highlighting.lexers['ipython3'] = ipy3
@@ -2,7 +2,7 b' New IPython Console Lexer'
2 -------------------------
2 -------------------------
3
3
4 The IPython console lexer has been rewritten and now supports tracebacks
4 The IPython console lexer has been rewritten and now supports tracebacks
5 and customized input/output prompts. An entire suite of lexers are now
5 and customized input/output prompts. An entire suite of lexers is now
6 available at :module:`IPython.nbconvert.utils.lexers`. These include:
6 available at :module:`IPython.nbconvert.utils.lexers`. These include:
7
7
8 IPythonLexer
8 IPythonLexer
General Comments 0
You need to be logged in to leave comments. Login now