# Discourse在Android手机的Chrome上显示某些主题时崩溃

**URL:** <https://meta.discourse.org/t/discourse-through-chrome-on-android-phone-crashing-for-some-topics/231533>\
**Category:** Bug\
**Created:** [2022年六月30日 06:21 UTC](https://meta.discourse.org/t/discourse-through-chrome-on-android-phone-crashing-for-some-topics/231533 "2022-06-30T06:21:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2022年七月2日 18:40 UTC](https://meta.discourse.org/t/discourse-through-chrome-on-android-phone-crashing-for-some-topics/231533/6 "2022-07-02T18:40:48Z")

</div>

该主题中有 `24570` 个代码字符，不幸的是，Android 手机在渲染这些字符时遇到困难是很常见的。如果您尝试在 GitHub 上查看大型 diff，也会看到同样的情况。

我们添加了一个限制，以免突出显示大于 30k 个字符的代码块，但该网站上的代码块较小，因此在桌面上可以正常渲染，但在低功耗设备上会遇到困难。

[在我们的长期路线图中，我们将代码高亮运行在后台线程中](https://meta.discourse.org/t/long-code-blocks-get-no-higlighting/206537/2?u=falco)，但我们还没有做到。

---

_[View the full topic](https://meta.discourse.org/t/discourse-through-chrome-on-android-phone-crashing-for-some-topics/231533)._
