aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin/math/math.js
diff options
context:
space:
mode:
authorChris Lawrence2015-10-02 20:47:19 -0400
committerChris Lawrence2015-10-02 20:47:19 -0400
commit69104e8e04c14ac91d396a41e0c05351ec2a96bf (patch)
treeb95b95b20746a2a4d93fec64c4c4b10e6be85123 /plugin/math/math.js
parent54082a8d76e8c12bb5b424f7ff21644632f054aa (diff)
parent01c55d4cf6ff60772be8a86320c4a5bcd7719a05 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugin/math/math.js')
-rwxr-xr-xplugin/math/math.js7
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
});