MathJax has been configured in Jekyll-gitbook.

This commit is contained in:
Team1 2023-06-12 17:28:00 +00:00
parent 934616294b
commit 74050cdebf
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ type: Standards Track
category: Core category: Core
created: 2023-02-01 created: 2023-02-01
layout: post layout: post
usemathjax: true
--- ---
## Simple Summary ## Simple Summary

View File

@ -1,4 +1,15 @@
<head> <head>
<!-- for mathjax support -->
{% if page.usemathjax %}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
<script type="text/javascript" async src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
{% endif %}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />