diff options
-rwxr-xr-x | plugin/math/math.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/math/math.js b/plugin/math/math.js index 25b7516..c0a691d 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 }); |