Merge pull request #2090 from bnjmnt4n/math
Allow users to customise MathJax options.
This commit is contained in:
commit
5890f602b3
3 changed files with 53 additions and 12 deletions
|
@ -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: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue