Replies: 1 comment
-
对于第二个问题,设置 katex:
enable: true 会在前端页面中加载 KaTeX 的 CSS,主要提供字体支持,见 https://katex.org/docs/node#including-in-webpages
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我使用最新版本的hexo和Next,使用
markdown_it_plus
渲染,渲染我的博客时,发现使用align*
环境的公式无法正常渲染。提示为ParseError: KaTeX parse error: No such environment: align* at position 7: \begin{̲a̲l̲i̲g̲n̲*̲}̲
。根据katex官方的支持列表,
align*
是受支持的,同时,我的 vscode 预览同样使用 katex 并且可以正确渲染。虽然我不能确定具体是什么插件或官方写入的设置,但是设置文件中有因此我好奇的是:
align*
?如果可以,我需要怎么做?或
对其余公式的渲染没有影响,并且依然使用的Katex,那么这里启用的具体意义是什么?
此外:更改成
aligned
能够正常工作,但是考虑到 vscode能够支持上述要求,我希望我的博客最终渲染结果能和我在 vscode 中预览的一致Beta Was this translation helpful? Give feedback.
All reactions