summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/extended_head.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/extended_head.html b/layouts/partials/extended_head.html
new file mode 100644
index 0000000..60a4547
--- /dev/null
+++ b/layouts/partials/extended_head.html
@@ -0,0 +1,14 @@
+<script>
+window.MathJax = {
+ tex: {
+ inlineMath: [['$', '$'], ['\\(', '\\)']],
+ displayMath: [['$$', '$$'], ['\\[', '\\]']],
+ processEscapes: true,
+ processEnvironments: true
+ },
+ options: {
+ skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+ }
+};
+</script>
+<script id="MathJax-script" async src="/mathjax/tex-mml-chtml.js"></script>