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

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUdit <23015406+udit-001@users.noreply.github.com>2019-11-21 12:33:38 +0300
committerZhao XiaoHei <xiaohei.zyx@gmail.com>2019-11-21 16:00:20 +0300
commit4f9e9f6f723b7543b805862545721fe6e04ddcc6 (patch)
tree67ec37876fc5abd5643a378450f60dc99d7bd73f
parentf496507d049a74aafe1511f3aaad1187a4e5bb07 (diff)
Creates math.html
-rw-r--r--layouts/partials/math.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
new file mode 100644
index 0000000..6f99de4
--- /dev/null
+++ b/layouts/partials/math.html
@@ -0,0 +1,9 @@
+<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_SVG"></script>
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ showMathMenu: false, //disables context menu
+ tex2jax: {
+ inlineMath: [ ['$','$'], ['\\(','\\)'] ]
+ }
+ });
+</script>