diff --git a/IPython/sphinxext/ipython_console_highlighting.py b/IPython/sphinxext/ipython_console_highlighting.py index 2090416..e5f689a 100644 --- a/IPython/sphinxext/ipython_console_highlighting.py +++ b/IPython/sphinxext/ipython_console_highlighting.py @@ -23,5 +23,5 @@ ipy = IPyLexer(python3=False) ipy3 = IPyLexer(python3=True) ipy3.aliases = ['ipy3'] -highlighting.lexers['ipy'] = ipy -highlighting.lexers['ipy3'] = ipy3 +highlighting.lexers['ipython'] = ipy +highlighting.lexers['ipython3'] = ipy3 diff --git a/docs/source/whatsnew/pr/ipython-console-lexer.rst b/docs/source/whatsnew/pr/ipython-console-lexer.rst index 486e280..da9eedd 100644 --- a/docs/source/whatsnew/pr/ipython-console-lexer.rst +++ b/docs/source/whatsnew/pr/ipython-console-lexer.rst @@ -2,7 +2,7 @@ New IPython Console Lexer ------------------------- The IPython console lexer has been rewritten and now supports tracebacks -and customized input/output prompts. An entire suite of lexers are now +and customized input/output prompts. An entire suite of lexers is now available at :module:`IPython.nbconvert.utils.lexers`. These include: IPythonLexer