# 预览中数学公式未渲染

**URL:** https://meta.discourse.org/t/math-not-rendering-in-preview/393641
**Category:** Bug
**Tags:** composer, math
**Created:** [2024年十月24日 06:17 UTC](https://meta.discourse.org/t/math-not-rendering-in-preview/393641 "2024-10-24T06:17:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2024年十月24日 06:17 UTC](https://meta.discourse.org/t/math-not-rendering-in-preview/393641/1 "2024-10-24T06:17:21Z")

</div>

我注意到在 Meta 上，数学公式在预览窗口中无法渲染，但在帖子中可以（我认为）。我在这里测试一下：

$$\n1 - a = 1 - \frac{1}{1 + e^{-z}}\n$$

在预览窗口中，我看到的是 `1 - a = 1 - \\frac{1}{1 + e^{-z}}`。

这是一个已知问题吗？我想知道是否有特定的配置会导致这种情况。

在 DeepLearning.AI Discourse 网站上，数学公式可以在预览中渲染，但非常卡顿——每次击键都会从 mathjax 代码变为渲染后的数学公式。我在我的本地开发站点上没有遇到这个问题。同样，我想知道那是否是配置问题。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2026年一月16日 05:52 UTC](https://meta.discourse.org/t/math-not-rendering-in-preview/393641/2 "2026-01-16T05:52:29Z")

</div>

这已在最新版本中修复 🎊

此外，富文本编辑器也支持数学公式。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2026年一月18日 21:00 UTC](https://meta.discourse.org/t/math-not-rendering-in-preview/393641/3 "2026-01-18T21:00:34Z")

</div>

此主题在 2 天后自动关闭。不再允许回复。
