Latex Support For My Blog
目录
My blog has been established successfully today. However, Jekyll’s native Markdown interpreter doesn’t always work well with Latex. This article records how I add $\LaTeX$ support for my site.
- Disable the math intepreter of Kramdown by adding the following code in _config.yml
- Include MathJax by adding the following script in ./_includes/head.html
Now we can enter the $\LaTeX$ equations successfully! For example:
$$
e^{i\theta}=\cos\theta+i\sin\theta
$$