Tweak to MathJax example

Added a missing comma and used an actual macro so that the MathJax example runs right out of the box upon a copy/paste.
This commit is contained in:
Pius Uzamere 2019-06-22 15:17:01 -04:00 committed by GitHub
parent 33bed47dac
commit abac58cfc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1411,9 +1411,9 @@ Reveal.initialize({
math: { math: {
mathjax: 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js', 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 config: 'TeX-AMS_HTML-full', // See http://docs.mathjax.org/en/latest/config-files.html
// pass other options into `MathJax.Hub.Config()` // pass other options into `MathJax.Hub.Config()`
TeX: { Macros: macros } TeX: { Macros: { RR: "{\\bf R}" } }
}, },
dependencies: [ dependencies: [