diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-07-07 11:50:08 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-07-07 11:50:08 +0200 |
commit | 852fea4133a190a6008e41638b0de41e1909cebb (patch) | |
tree | 4dfd5129283ce65e58e6289808b8043e82505560 /plugin | |
parent | c96a5d6ae3e397d4f6000c245cd28f38ce7c7f3d (diff) | |
parent | 0cb4d1050438d4c42ec1c7609b4791f973dfa577 (diff) | |
download | perl-software-in-gnu-guix-852fea4133a190a6008e41638b0de41e1909cebb.tar perl-software-in-gnu-guix-852fea4133a190a6008e41638b0de41e1909cebb.tar.gz |
Merge pull request #1205 from gothma/mathjax-md
Allow tex parsing in <code> tags
Diffstat (limited to 'plugin')
-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 }); |