next-theme / hexo-filter-mathjax

💯 Server side MathJax renderer plugin for Hexo.
https://www.npmjs.com/package/hexo-filter-mathjax
MIT License
104 stars 6 forks source link

渲染效果不对劲 #5

Closed Freedomisgood closed 4 years ago

Freedomisgood commented 4 years ago
Content of debug log
---
title: Latex测试
date: 2019-11-26 21:34:07
mathjax: true
tags:
---

$UCB1(S_{i})=\overline{V_{i}}+c \sqrt{\frac{\log N}{n_{i}}}, c=2$

$$UCB1(S_{i})=\overline{V_{i}}+c \sqrt{\frac{\log N}{n_{i}}}, c=2$$

$\frac{Q(v_{i})}{N(v_{i})}$

$$\frac{Q(v_{i})}{N(v_{i})}$$

$\overline{V_{i}}$

$$\overline{V_{i}}$$

$\frac{1}{4}$

$$\frac{1}{4}$$

$\epsilon_0$

$$\epsilon_0$$

$\epsilon_{0}$

$$\epsilon_{0}$$

但我的页面显示是这样的,有的消失不了,epsilon0可以显示,但是前面的代码并没有消失 渲染效果

Freedomisgood commented 4 years ago
_config.yml配置
mathjax:

single_dollars: true

cjk_char_width: 16

svg: true

我的博客文章

---
title: Latex测试
date: 2019-11-26 21:34:07
mathjax: true
tags:
---
$UCB1(S_{i})=\overline{V_{i}}+c \sqrt{\frac{\log N}{n_{i}}}, c=2$
$$UCB1(S_{i})=\overline{V_{i}}+c \sqrt{\frac{\log N}{n_{i}}}, c=2$$

$\frac{Q(v_{i})}{N(v_{i})}$

$$\frac{Q(v_{i})}{N(v_{i})}$$

$\overline{V_{i}}$

$$\overline{V_{i}}$$

$\frac{1}{4}$

$$\frac{1}{4}$$

$\epsilon_0$

$$\epsilon_0$$

$\epsilon_{0}$

$$\epsilon_{0}$$

但我的页面显示是这样的,有的消失不了,epsilon0可以显示,但是前面的代码并没有消失 显示效果

stevenjoezhang commented 4 years ago

源码没有问题。看上去您安装了katex插件,请将它们全部卸载。