From 4238b9b3efc3a9c001b5e1cf6c1883ffd0f92800 Mon Sep 17 00:00:00 2001 From: Literallie Date: Wed, 18 Oct 2017 19:37:55 +0200 Subject: Fix MathJax CSP issues --- public/js/mathjax-config-extra.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 public/js/mathjax-config-extra.js (limited to 'public/js') 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 + } +} -- cgit v1.2.3