Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-05-28 03:44:20 +0300
committerLutong Chen <ertuil98@foxmail.com>2020-05-28 03:44:20 +0300
commit2edcda21a573b5100001e15dfd138318c58f568b (patch)
treef3f4aabc6ab838507822db0e82cea2d5cf87e1bb
parent7e0061ec2af020db6e9c5c40603a3d8b56d2a6a2 (diff)
update mathjax-config
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5a316e7..689beb7 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -34,6 +34,9 @@
{{ if .Site.Params.MathJax | default true }}
<!-- adds MathJax support -->
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-mml-chtml.js" integrity="sha256-HGLuEfFcsUJGhvB8cQ8nr0gai9EucOOaIxFw7qxmd+w=" crossorigin="anonymous"></script>
+ <script type="text/x-mathjax-config">
+ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
+ </script>
{{ end }}
<link rel="stylesheet" href="/layui/css/layui.css">