I have set my blog to support latex with MathJax according to a tutorial 使用kramdown和MathJax给博客添加Latex支持.
When I rake preview my blog on localhost, the latex formula can display successful. However, It can not work when deploying to github.io
. Here is my blog site:my blog site. I have already checked the html code of my site.
There are codes for latex:
<script type="math/tex; mode=display">d_{ij}=\sqrt{\sum_{k=1}^{n}(x_{ik}-x_{jk})^2}</script>
It can not work in my site.