<html>
<head>
<title>MathJax TeX Test Page</title>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['
,'
], ['\\(','\\)']]}});
</script>
<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are
$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$
</body>
</html>
发布评论
评论(1)
官方文档不是有demo吗,或者百度下中文文档:mathjax中文文档
里面有个案例,复制到html里面去,直接打开就有效果了。