diff options
author | Asvin Goel | 2016-07-21 12:09:08 +0200 |
---|---|---|
committer | GitHub | 2016-07-21 12:09:08 +0200 |
commit | c1d94f1b60ccbd6e827eb26bd6429571e09ad418 (patch) | |
tree | 97d4939839a87f0688a59755871bdc2368b5856f /plugin/math/math.js | |
parent | b7fcd71c9f9f3415902b2879f704ec5c4cfc4d41 (diff) | |
parent | 304b0292be05d387947481eee7060f67ab808b5b (diff) |
Merge pull request #12 from hakimel/dev
Syncing to current version
Diffstat (limited to 'plugin/math/math.js')
-rwxr-xr-x | plugin/math/math.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugin/math/math.js b/plugin/math/math.js index d55d9d1..c0a691d 100755 --- a/plugin/math/math.js +++ b/plugin/math/math.js @@ -7,14 +7,17 @@ var RevealMath = window.RevealMath || (function(){ var options = Reveal.getConfig().math || {}; - options.mathjax = options.mathjax || 'http://cdn.mathjax.org/mathjax/latest/MathJax.js'; + options.mathjax = options.mathjax || 'https://cdn.mathjax.org/mathjax/latest/MathJax.js'; options.config = options.config || 'TeX-AMS_HTML-full'; loadScript( options.mathjax + '?config=' + options.config, function() { MathJax.Hub.Config({ messageStyle: 'none', - tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] }, + tex2jax: { + inlineMath: [['$','$'],['\\(','\\)']] , + skipTags: ['script','noscript','style','textarea','pre'] + }, skipStartupTypeset: true }); |