Merge commit 'bfb1829a86a2bc1b595dad52a9d6dcfe80dd0679' as 'themes/codex'
This commit is contained in:
11
themes/codex/layouts/partials/math.html
Normal file
11
themes/codex/layouts/partials/math.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!-- layouts/partials/math.html -->
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_SVG"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
showMathMenu: false, //disables context menu
|
||||
tex2jax: {
|
||||
inlineMath: [ ['$','$'], ['\\(','\\)'] ]
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user