MathJax.js使用时报错
Cannot read property 'Hub' of undefined
ReferenceError: MathJax is not defined
这是我忘记了在script标签里面写
type="text/x-mathjax-config"
<script type="text/x-mathjax-config">
function config(){
MathJax.Hub.Config({
showProcessingMessages: false,
messageStyle: "none",
extensions: ["tex2jax.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ["$", "$"] ],
displayMath: [ [