File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments