aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugin/math/math.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/math/math.js b/plugin/math/math.js
index d55d9d1..f2d724d 100755
--- a/plugin/math/math.js
+++ b/plugin/math/math.js
@@ -14,7 +14,10 @@ var RevealMath = window.RevealMath || (function(){
MathJax.Hub.Config({
messageStyle: 'none',
- tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] },
+ tex2jax: {
+ inlineMath: [['$','$'],['\\(','\\)']] ,
+ skipTags: ['script','noscript','style','textarea','pre']
+ },
skipStartupTypeset: true
});