##// END OF EJS Templates
Update docstring for IPythonConsoleLexer.
chebee7i -
Show More
@@ -174,9 +174,11 b' class IPythonTracebackLexer(DelegatingLexer):'
174 @skip_doctest
174 @skip_doctest
175 class IPythonConsoleLexer(Lexer):
175 class IPythonConsoleLexer(Lexer):
176 """
176 """
177 An IPython console lexer for IPython code-blocks and doctests, such as::
177 An IPython console lexer for IPython code-blocks and doctests, such as:
178
178
179 .. sourcecode:: ipythoncon
179 .. code-block:: rst
180
181 .. code-block:: ipythoncon
180
182
181 In [1]: a = 'foo'
183 In [1]: a = 'foo'
182
184
@@ -189,8 +191,9 b' class IPythonConsoleLexer(Lexer):'
189 In [4]: 1 / 0
191 In [4]: 1 / 0
190
192
191
193
194 Support is also provided for IPython exceptions:
192
195
193 Support is also provided for IPython exceptions. ::
196 .. code-block:: rst
194
197
195 .. code-block:: ipythoncon
198 .. code-block:: ipythoncon
196
199
General Comments 0
You need to be logged in to leave comments. Login now