summaryrefslogtreecommitdiffstats
path: root/plugins/55/mathjax/conf/default.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-12-01 21:17:14 +0100
committerDaniel Baumann <daniel@debian.org>2024-12-12 11:27:45 +0100
commitbf596cbb426bd672a46484bca3bd07cfa6662919 (patch)
tree41ef466309f3e567f63e8e68ef272b0a4e214138 /plugins/55/mathjax/conf/default.php
parentInitial commit. (diff)
downloaddokuwiki-plugins-extra-bf596cbb426bd672a46484bca3bd07cfa6662919.tar.xz
dokuwiki-plugins-extra-bf596cbb426bd672a46484bca3bd07cfa6662919.zip
Adding upstream version 20241201.upstream/20241201upstream
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'plugins/55/mathjax/conf/default.php')
-rw-r--r--plugins/55/mathjax/conf/default.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/55/mathjax/conf/default.php b/plugins/55/mathjax/conf/default.php
new file mode 100644
index 0000000..e56bbdf
--- /dev/null
+++ b/plugins/55/mathjax/conf/default.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Default settings for the mathjax plugin
+ *
+ * @author Mark Liffiton <liffiton@gmail.com>
+ */
+
+$conf['url'] = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_CHTML.js';
+$conf['config'] = 'MathJax.Hub.Config({
+ tex2jax: {
+ inlineMath: [ ["$","$"], ["\\\\(","\\\\)"] ],
+ displayMath: [ ["$$","$$"], ["\\\\[","\\\\]"] ],
+ processEscapes: true
+ }
+});';
+$conf['configfile'] = '';
+$conf['asciimath'] = 0;
+$conf['mathtags'] = '';
+