Skip to content

Commit

Permalink
Merge pull request #1205 from gothma/mathjax-md
Browse files Browse the repository at this point in the history
Allow tex parsing in <code> tags
  • Loading branch information
hakimel committed Jul 7, 2015
2 parents c96a5d6 + 0cb4d10 commit 852fea4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/math/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down

0 comments on commit 852fea4

Please sign in to comment.