Merge pull request #1205 from gothma/mathjax-md
Allow tex parsing in <code> tags
This commit is contained in:
commit
852fea4133
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ var RevealMath = window.RevealMath || (function(){
|
||||||
|
|
||||||
MathJax.Hub.Config({
|
MathJax.Hub.Config({
|
||||||
messageStyle: 'none',
|
messageStyle: 'none',
|
||||||
tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] },
|
tex2jax: {
|
||||||
|
inlineMath: [['$','$'],['\\(','\\)']] ,
|
||||||
|
skipTags: ['script','noscript','style','textarea','pre']
|
||||||
|
},
|
||||||
skipStartupTypeset: true
|
skipStartupTypeset: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue