Settings ParametersΒΆ
MATHJAX_ENABLED
Allow to enable/disable the mathjax app. Example:
MATHJAX_ENABLED = True # to enable mathjax on your django project
MATHJAX_LOCAL_PATH
Use a local path of MathJax Library instead of the CDN. Example:
MATHJAX_LOCAL_PATH = 'js/libs/mathjax/'
MATHJAX_CONFIG_FILE
Allow to configure the config file used by mathjax. Example:
MATHJAX_CONFIG_FILE = "TeX-AMS-MML_HTMLorMML"
The default value is "TeX-AMS-MML_HTMLorMML"
.
MATHJAX_CONFIG_DATA
Allow to configure the mathjax directly by a python dictionary. Example:
MATHJAX_CONFIG_DATA = {
"tex2jax": {
"inlineMath":
[
['$','$'],
['\\(','\\)']
]
}
}