Skip to content

Commit daebbdc

Browse files
committed
MathJax: Support for \gdef
Backport of jupyterlab/jupyterlab#5997
1 parent b26221a commit daebbdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

notebook/static/notebook/js/mathjaxutils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ define([
1919
processEscapes: true,
2020
processEnvironments: true
2121
},
22+
TeX: {
23+
extensions: ['newcommand.js', 'begingroup.js'] // For \gdef
24+
},
2225
MathML: {
2326
extensions: ['content-mathml.js']
2427
},

0 commit comments

Comments
 (0)