vendor/reveal.js/plugin/math/math.js in slide_hero-0.0.10 vs vendor/reveal.js/plugin/math/math.js in slide_hero-0.0.11

- old
+ new

@@ -5,17 +5,20 @@ * @author Hakim El Hattab */ 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 }); // Typeset followed by an immediate reveal.js layout since // the typesetting process could affect slide height