Skip to content

Commit 3e2fd54

Browse files
committed
Enable MathJax for "output_area"
1 parent 7dd462a commit 3e2fd54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/nbsphinx.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,6 @@ def decode(data):
11361136
# see issue #155
11371137
cmd += ['--eol', 'lf']
11381138
cmd1 = cmd + ['--from', fmt, '--to', 'json']
1139-
11401139
cmd2 = cmd + ['--from', 'json', '--to', to]
11411140
cmd2 += ['--columns=500'] # Avoid breaks in tables, see issue #240
11421141

@@ -1754,8 +1753,8 @@ def setup(app):
17541753
{
17551754
'inlineMath': [['$', '$'], ['\\(', '\\)']],
17561755
'processEscapes': True,
1757-
'ignoreClass': '.*',
1758-
'processClass': 'math',
1756+
'ignoreClass': 'document',
1757+
'processClass': 'math|output_area',
17591758
}
17601759
)
17611760

0 commit comments

Comments
 (0)