Skip to content

Commit 063d261

Browse files
committed
turn off erroneous output highlighting
1 parent 6bac56e commit 063d261

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jupyter_sphinx/execute.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def cell_output_to_nodes(cell, data_priority, write_stderr, dir, thebe_config):
491491
to_add.append(docutils.nodes.literal_block(
492492
text=output['text'],
493493
rawsource=output['text'],
494+
language='none',
494495
))
495496
elif (
496497
output_type == 'error'
@@ -537,6 +538,7 @@ def cell_output_to_nodes(cell, data_priority, write_stderr, dir, thebe_config):
537538
to_add.append(docutils.nodes.literal_block(
538539
text=data,
539540
rawsource=data,
541+
language='none',
540542
))
541543
elif mime_type == 'application/javascript':
542544
to_add.append(docutils.nodes.raw(

0 commit comments

Comments
 (0)