aboutsummaryrefslogtreecommitdiff
path: root/_includes/math.html
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-07-05 19:44:11 +0530
committerPriyansh <[email protected]>2021-07-05 19:44:11 +0530
commitcd0508b3beb5ada72b33e3fe8dcf88105d5131c3 (patch)
treef84dc6936026850bf9e1c51fd92b3799dd4992d2 /_includes/math.html
parentf0b047e59b90fcf027d06c077ef4ab3fd56b45c1 (diff)
downloadluciferreeves.github.io-cd0508b3beb5ada72b33e3fe8dcf88105d5131c3.tar.xz
luciferreeves.github.io-cd0508b3beb5ada72b33e3fe8dcf88105d5131c3.zip
Added MathJax Support
Diffstat (limited to '_includes/math.html')
-rw-r--r--_includes/math.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/math.html b/_includes/math.html
new file mode 100644
index 0000000..d8697fc
--- /dev/null
+++ b/_includes/math.html
@@ -0,0 +1,18 @@
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ jax: ["input/TeX","input/MathML","output/SVG", "output/CommonHTML"],
+ extensions: ["tex2jax.js","mml2jax.js","MathMenu.js","MathZoom.js", "CHTML-preview.js"],
+ TeX: {
+ extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
+ },
+ tex2jax: {
+ inlineMath: [ ['$','$'], ["\\(","\\)"] ],
+ displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
+ processEscapes: true,
+ processEnvironments: true
+ },
+ "HTML-CSS": { availableFonts: ["TeX"] }
+ });
+ </script>
+<script type="text/javascript"
+ src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"></script> \ No newline at end of file