aboutsummaryrefslogtreecommitdiff
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
parentf0b047e59b90fcf027d06c077ef4ab3fd56b45c1 (diff)
downloadluciferreeves.github.io-cd0508b3beb5ada72b33e3fe8dcf88105d5131c3.tar.xz
luciferreeves.github.io-cd0508b3beb5ada72b33e3fe8dcf88105d5131c3.zip
Added MathJax Support
-rw-r--r--_config.yml3
-rw-r--r--_includes/math.html18
2 files changed, 20 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 3b98d24..dd5f251 100644
--- a/_config.yml
+++ b/_config.yml
@@ -28,7 +28,8 @@ github_username: luciferreeves
# Build settings
remote_theme: chesterhow/tale
-
+markdown: kramdown
+mathjax: true
permalink: /:year-:month-:day/:title
paginate: 5
plugins:
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