测试
Zhuangpx 站长

数学公式

按照 hexo-filter-mathjax 后在配置文件下添加配置:

1
2
3
4
5
6
7
mathjax:
tags: none # or 'ams' or 'all'
single_dollars: true # enable single dollar signs as in-line math delimiters
cjk_width: 0.9 # relative CJK char width
normal_width: 0.6 # relative normal (monospace) width
append_css: true # add CSS to every page
every_page: false # if true, every page will be rendered by mathjax regardless the `mathjax` setting in Front-matter of each article

之后在文章页添加 mathjax: true 属性。

以下公式测试一下:

$\frac{a}{b}$

  • Post title:测试
  • Post author:Zhuangpx
  • Create time:2021-10-24 00:46:09
  • Post link:https://zhuangpx.github.io/2021/10/24/测试/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.