MathJax: Support for \gdef (#4407)

Backport of https://github.com/jupyterlab/jupyterlab/pull/5997
This commit is contained in:
Matthias Geier 2020-06-03 12:25:59 +02:00 committed by GitHub
parent 45d9f38d36
commit 5aba3b824c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,9 @@ define([
processEscapes: true, processEscapes: true,
processEnvironments: true processEnvironments: true
}, },
TeX: {
extensions: ['newcommand.js', 'begingroup.js'] // For \gdef
},
MathML: { MathML: {
extensions: ['content-mathml.js'] extensions: ['content-mathml.js']
}, },