diff options
author | Literallie | 2017-10-18 19:37:55 +0200 |
---|---|---|
committer | Literallie | 2017-10-22 00:03:45 +0200 |
commit | 4238b9b3efc3a9c001b5e1cf6c1883ffd0f92800 (patch) | |
tree | 05810009e4780fc058d1f3a625d96cbb8985669b /public/js | |
parent | 080436aebb4c4681f85cc8bf5d8563832ff8dbdd (diff) |
Fix MathJax CSP issues
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/mathjax-config-extra.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/js/mathjax-config-extra.js b/public/js/mathjax-config-extra.js new file mode 100644 index 00000000..54cee794 --- /dev/null +++ b/public/js/mathjax-config-extra.js @@ -0,0 +1,8 @@ +var MathJax = { + messageStyle: 'none', + skipStartupTypeset: true, + tex2jax: { + inlineMath: [['$', '$'], ['\\(', '\\)']], + processEscapes: true + } +} |