如何在github.io markdown中支持数学公式?

如何在github.io markdown中支持数学公式?,markdown,github-pages,mathjax,Markdown,Github Pages,Mathjax,这是mathjax的一个测试项目。I init/docs/README.md带有: <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"> </script> formula1: $$n==x$$ formula2: $$n!=x$$ formula3: \(m==y\) formu

这是mathjax的一个测试项目。I init/docs/README.md带有:

<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

formula1:
$$n==x$$

formula2: $$n!=x$$

formula3:
\(m==y\)

formula4: \[m!=y\]

formula5:
\\(k==z\\)

formula6: \\[k!=z\\]

公式1:
$$n==x$$
公式2:$$n=x$$
公式3:
\(m==y\)
公式4:\[m!=y\]
公式5:
\\(k==z\\)
公式6:\\[k!=z\\]
但在
https://zhaochenyou.github.io/TestMathJax/


请帮帮我?

你想做的事在降价时是做不到的。使用html页面代替html对于文档来说太复杂了。。。。我想要简单的写作和数学公式…是的,但你不能在markdown中使用脚本:Poh,不。。。sad sadIt对我来说工作正常,即1,2,5,6工作正常。您可能需要查看kramdown文档中的数学块。