We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28468f2 + 75f63d4 commit fae70bfCopy full SHA for fae70bf
jupyter_sphinx/__init__.py
@@ -282,7 +282,7 @@ def setup(app):
282
283
# For syntax highlighting
284
app.add_lexer("ipythontb", IPythonTracebackLexer)
285
- app.add_lexer("ipython", IPython3Lexer)
+ app.add_lexer("ipython3", IPython3Lexer)
286
287
app.connect("builder-inited", builder_inited)
288
app.connect("build-finished", build_finished)
jupyter_sphinx/execute.py
@@ -204,7 +204,7 @@ def apply(self):
204
205
# Highlight the code cells now that we know what language they are
206
for node in nodes:
207
- source = node.children[0]
+ source = node.children[0].children[0]
208
source.attributes["language"] = lexer
209
210
# Add line numbering
0 commit comments