diff options
author | Benjamin Tan | 2018-02-08 20:54:21 +0800 |
---|---|---|
committer | Benjamin Tan | 2018-02-08 20:54:21 +0800 |
commit | b2d532ea28eaaf0b7b2cf225c713c8a8d3f4a3bf (patch) | |
tree | f736afd40fe27d13652f3ee618de4b3f9212d0be /README.md | |
parent | 7cd2c9138d2a28f4395799bcfd3e810dfee511ea (diff) |
Allow users to customise MathJax options.
Ref. #1856, #2006, #2045.
This is a more open approach to allow customisation of all MathJax options instead of select options only.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1203,6 +1203,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: [ |