Skip to content

Commit 1f1eb12

Browse files
committed
更新文档
1 parent 5712494 commit 1f1eb12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guide/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -923,17 +923,17 @@ post:
923923

924924
**2. 更换 Markdown 渲染器**
925925

926-
由于 Hexo 默认的 Markdown 渲染器不支持复杂公式,所以必须更换渲染器
926+
由于 Hexo 默认的 Markdown 渲染器不支持复杂公式,所以需要更换渲染器(mathjax 可选择性更换)
927927

928928
先卸载原有渲染器:
929929

930930
`npm uninstall hexo-renderer-marked --save`
931931

932932
然后根据上方配置不同的 `engine`,推荐更换如下渲染器:
933933

934-
mathjax:`npm install hexo-renderer-pandoc --save` **并且还需[安装 Pandoc](https://github.com/jgm/pandoc/blob/master/INSTALL.md)**
934+
mathjax(可选):`npm install hexo-renderer-pandoc --save` **并且还需[安装 Pandoc](https://github.com/jgm/pandoc/blob/master/INSTALL.md)**
935935

936-
katex: `npm install @upupming/hexo-renderer-markdown-it-plus --save`
936+
katex(必须): `npm install @upupming/hexo-renderer-markdown-it-plus --save`
937937

938938
**3. 安装完成后执行 `hexo clean`**
939939

0 commit comments

Comments
 (0)