aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-09 17:38:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-09 17:52:56 +0300
commit9c44060f0d9dd530a4d90c635da7b83935a1ec19 (patch)
tree9b4863cd1a38c965285506daf561619ee22b869a /_includes/common
parentadd README.md (diff)
downloadjekyll-theme-9c44060f0d9dd530a4d90c635da7b83935a1ec19.tar.gz
jekyll-theme-9c44060f0d9dd530a4d90c635da7b83935a1ec19.zip
MathJax: get rid of the workarond
Kramdown 2.2.0 supports MathJax v3 now.
Diffstat (limited to '_includes/common')
-rw-r--r--_includes/common/mathjax.html8
-rw-r--r--_includes/common/mathjax_workaround.md1
2 files changed, 0 insertions, 9 deletions
diff --git a/_includes/common/mathjax.html b/_includes/common/mathjax.html
index 7110f57..e01e380 100644
--- a/_includes/common/mathjax.html
+++ b/_includes/common/mathjax.html
@@ -1,12 +1,4 @@
{% if page.mathjax %}
- <script>
-// See the README.md for explanation:
-MathJax = {
- tex: {
- inlineMath: [['$', '$']]
- }
-};
- </script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
{% endif %}
diff --git a/_includes/common/mathjax_workaround.md b/_includes/common/mathjax_workaround.md
deleted file mode 100644
index 9d0a77d..0000000
--- a/_includes/common/mathjax_workaround.md
+++ /dev/null
@@ -1 +0,0 @@
-{::options math_engine="+nil+" /}