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

[Bug] Latex公式没有正常渲染 #144

Closed
leeyiding opened this issue Sep 4, 2023 · 2 comments · Fixed by lobehub/lobe-ui#168
Closed

[Bug] Latex公式没有正常渲染 #144

leeyiding opened this issue Sep 4, 2023 · 2 comments · Fixed by lobehub/lobe-ui#168
Labels
🐛 Bug Something isn't working | 缺陷 ✅ Fixed Fixed | 已修复

Comments

@leeyiding
Copy link

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

我在README中看到说已支持Latex渲染,但是经过测试并没有正常渲染,另外行内公式渲染貌似也有问题,理论上``不应该显示出来吧

image

以下是一段Markdown格式的LaTeX数学公式:

我是一个行内公式:$E=mc^2$

我是一个独立公式:
$$
\sum_{i=1}^{n} x_i = x_1 + x_2 + \ldots + x_n
$$

我是一个带有分式的公式:
$$
\frac{{n!}}{{k!(n-k)!}} = \binom{n}{k}
$$

我是一个带有上下标的公式:
$$
x^{2} + y^{2} = r^{2}
$$

我是一个带有积分符号的公式:
$$
\int_{a}^{b} f(x) \, dx
$$

在Markdown中,行内公式使用单个美元符号 `$` 包围,独立公式使用两个美元符号 `$$` 包围。使用 `\` 来转义特殊字符,例如 `\ldots` 表示省略号,`\frac{}{}` 表示分式,`\sum_{i=1}^{n}` 表示求和,`\int_{a}^{b}` 表示积分。上下标可以使用 `^` 和 `_` 来表示。

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

@leeyiding leeyiding added the 🐛 Bug Something isn't working | 缺陷 label Sep 4, 2023
@arvinxx
Copy link
Contributor

arvinxx commented Sep 4, 2023

我们确认下~

@canisminor1990
Copy link
Member

canisminor1990 commented Sep 5, 2023

@canisminor1990 canisminor1990 added the ✅ Fixed Fixed | 已修复 label Sep 5, 2023
skylinemusiccds referenced this issue in skylinemusiccds/BrainWeaver-development May 12, 2024
skylinemusiccds referenced this issue in skylinemusiccds/BrainWeaver-development May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 ✅ Fixed Fixed | 已修复
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants