Processing math: 100%

Mathjax公式

When a0, there are two solutions to (ax^2 + bx + c = 0) and they are

x=b±b24ac2a.

http://mathjax.josephjctang.com/

1
2
3
$ grep theme.mathjax -rl --include=\*.{ejs,js} /home/cs/oss/hexo/themes/spfk
/home/cs/oss/hexo/themes/spfk/layout/_partial/head.ejs
$ sed -i 's/theme.mathjax/page.mathjax/' /hexo/themes/spfk/layout/_partial/after-footer.ejs

<% if (page.mathjax){ %>

/hexo/public/js/MathJax.js 添加引入

1
2
3
<script type="text/javascript"
src="http://mathjax.josephjctang.com/MathJax.js?config=TeX-MML-AM_HTMLorMML">
</script>

文章开头加入

1
2
3
4
5
title: xxxx
permalink: xxxx/
tags: xxxx
date: xxxx
mathjax: true

mathjax: true

引入目录

点击打赏
由于评论调用的是 Github 的 Issues 功能
想要查看或发布评论,请确保您能正常登录 Github
本站已运行 304816 小时 4605 秒 | 海贼到访数: 11272 , 本页阅读量: 43