Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

公式渲染出来两遍,一次是katex,一遍是html的,不知道作者遇到过没? #284

Open
HDP2017 opened this issue May 31, 2024 · 1 comment

Comments

@HDP2017
Copy link

HDP2017 commented May 31, 2024

数据:
韦达定理描述了一元二次方程中根与系数之间的关系。对于一元二次方程$ax^2+bx+c=0$,若其两根为$x_1$和$x_2$,则有:\n\n1. 根的和:$x_1 + x_2 = -\frac{b}{a}$\n2. 根的积:$x_1 \cdot x_2 = \frac{c}{a}$\n\n这些关系帮助理解方程的解的性质
渲染结果:
111111
dom审查:
222222

如图所示,dom审查的时候,看到每一条公式都会除了katex-mathml 多渲染出来一个katex-html,这个咋解决,不胜感激

@xiaoqiuuuu
Copy link

我也遇到了,目前还没找到解决方案,评论一下提提热度

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants