If you want to solve the problem immediately, just go to this link.
Or, reading on
I want to make my jekyll surpport latex math. I tried many ways, such as the following link:
I just cannot figure out, where to put these codes, even from the jekyll official way Math support. Besides I am also little worried about the outdated way.
two things are sure:
- In ‘_config.xml’ file, I should use kramdown engine
- The following code should be used
Finally, I found this this link, went to his/her repostory and got the idear of position to put these codes.
I should put these codes in the all-shared layout file which is ‘_include/head.html’, see this file code as following