Merge pull request #1205 from gothma/mathjax-md

Allow tex parsing in <code> tags
edit
Hakim El Hattab 2015-07-07 11:50:08 +02:00
commit 852fea4133
1 changed files with 4 additions and 1 deletions

View File

@ -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
});