Merge pull request #1565 from poke1024/mathjaxmml

MathJax MML support
pull/1673/merge
Grant Nestor 10 years ago committed by GitHub
commit fd03c87f43

@ -161,7 +161,7 @@ class IPythonHandler(AuthenticatedHandler):
@property
def mathjax_config(self):
return self.settings.get('mathjax_config', 'TeX-AMS_HTML-full,Safe')
return self.settings.get('mathjax_config', 'TeX-AMS-MML_HTMLorMML-full,Safe')
@property
def base_url(self):

@ -762,7 +762,7 @@ class NotebookApp(JupyterApp):
else:
self.log.info("Using MathJax: %s", new)
mathjax_config = Unicode("TeX-AMS_HTML-full,Safe", config=True,
mathjax_config = Unicode("TeX-AMS-MML_HTMLorMML-full,Safe", config=True,
help="""The MathJax.js configuration file that is to be used."""
)

@ -166,7 +166,7 @@ def find_package_data():
mj = lambda *path: pjoin(components, 'MathJax', *path)
static_data.extend([
mj('MathJax.js'),
mj('config', 'TeX-AMS_HTML-full.js'),
mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'),
mj('config', 'Safe.js'),
])

Loading…
Cancel
Save