diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-09-17 14:25:38 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-09-17 14:25:38 +0300 |
commit | c0cee788d56f52744d13411094fb99557cf77ce6 (patch) | |
tree | 393d7be94fe5cb58edbc6066a7ac8b2c92c5b5a0 /layouts/partials/mathjax.html | |
parent | 7580d1ce3866d9291b28922053dc7c6d8a629e43 (diff) | |
parent | 84bd48493c20877058b01cabf7b49ececbd0ec7d (diff) |
Merge branch 'testing'
Diffstat (limited to 'layouts/partials/mathjax.html')
-rw-r--r-- | layouts/partials/mathjax.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/layouts/partials/mathjax.html b/layouts/partials/mathjax.html deleted file mode 100644 index 386b8d7..0000000 --- a/layouts/partials/mathjax.html +++ /dev/null @@ -1,36 +0,0 @@ -<!-- From https://note.qidong.name/2018/03/hugo-mathjax/ --> -<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> -<script> -MathJax = { - tex: { - inlineMath: [['$', '$'], ['\\(', '\\)']] - }, - svg: { - fontCache: 'global' - } -}; -</script> -<script type="text/javascript" id="MathJax-script" -async -src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"> -MathJax.Hub.Queue(function() { -// Fix <code> tags after MathJax finishes running. This is a -// hack to overcome a shortcoming of Markdown. Discussion at -// https://github.com/mojombo/jekyll/issues/199 -var all = MathJax.Hub.getAllJax(), i; -for(i = 0; i < all.length; i += 1) { -all[i].SourceElement().parentNode.className += ' has-jax'; -} -}); -</script> - -<style> -code.has-jax { -font: inherit; -font-size: 100%; -background: inherit; -border: inherit; -color: #515151; -} -</style> - |