# 该帖子中的语法高亮未生效

**URL:** <https://meta.discourse.org/t/syntax-highlighting-not-working-in-a-post-on-my-site/388605>\
**Category:** Product Support\
**Created:** [2025 年11 月 16 日 15:59 UTC](https://meta.discourse.org/t/syntax-highlighting-not-working-in-a-post-on-my-site/388605 "2025-11-16T15:59:55Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
发布日期： [2025 年11 月 24 日 19:39 UTC](https://meta.discourse.org/t/syntax-highlighting-not-working-in-a-post-on-my-site/388605/10 "2025-11-24T19:39:32Z")

</div>

我认为可能是代码片段的大小问题。当我（非常粗略地 🙂）从第一个代码片段中切出一块使其变小时，它就能按预期突出显示了。

---

_[View the full topic](https://meta.discourse.org/t/syntax-highlighting-not-working-in-a-post-on-my-site/388605)._
