Show More
@@ -4,12 +4,10 b' Defines a variety of Pygments lexers for highlighting IPython code.' | |||||
4 |
|
4 | |||
5 | This includes: |
|
5 | This includes: | |
6 |
|
6 | |||
7 | IPythonLexer |
|
7 | IPythonLexer, IPython3Lexer | |
8 | IPython3Lexer |
|
|||
9 | Lexers for pure IPython (python + magic/shell commands) |
|
8 | Lexers for pure IPython (python + magic/shell commands) | |
10 |
|
9 | |||
11 | IPythonPartialTracebackLexer |
|
10 | IPythonPartialTracebackLexer, IPythonTracebackLexer | |
12 | IPythonTracebackLexer |
|
|||
13 | Supports 2.x and 3.x via keyword `python3`. The partial traceback |
|
11 | Supports 2.x and 3.x via keyword `python3`. The partial traceback | |
14 | lexer reads everything but the Python code appearing in a traceback. |
|
12 | lexer reads everything but the Python code appearing in a traceback. | |
15 | The full lexer combines the partial lexer with an IPython lexer. |
|
13 | The full lexer combines the partial lexer with an IPython lexer. | |
@@ -209,6 +207,7 b' class IPythonConsoleLexer(Lexer):' | |||||
209 | .. code-block:: ipythonconsole |
|
207 | .. code-block:: ipythonconsole | |
210 |
|
208 | |||
211 | In [1]: raise Exception |
|
209 | In [1]: raise Exception | |
|
210 | ||||
212 | --------------------------------------------------------------------------- |
|
211 | --------------------------------------------------------------------------- | |
213 | Exception Traceback (most recent call last) |
|
212 | Exception Traceback (most recent call last) | |
214 | <ipython-input-1-fca2ab0ca76b> in <module>() |
|
213 | <ipython-input-1-fca2ab0ca76b> in <module>() |
General Comments 0
You need to be logged in to leave comments.
Login now