0

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.

Xijun Lee
  • 49
  • 1
  • 3
  • Possible duplicate of [Github IO page does not load CSS](http://stackoverflow.com/questions/40827124/github-io-page-does-not-load-css) – Peter Krautzberger Dec 19 '16 at 08:11
  • You must load mathjax over https on github pages. Search SO for several duplicates and for mixed content problem in general. (Apologies to the moderators for flagging this poorly.) – Peter Krautzberger Dec 19 '16 at 08:13

0 Answers0