Merge pull request #2090 from bnjmnt4n/math

Allow users to customise MathJax options.
This commit is contained in:
Hakim El Hattab
2018-10-08 08:41:08 +02:00
committed by GitHub
3 changed files with 53 additions and 12 deletions

View File

@ -1286,6 +1286,8 @@ Reveal.initialize({
math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
// pass other options into `MathJax.Hub.Config()`
TeX: { Macros: macros }
},
dependencies: [