jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
7.1k stars 1.28k forks source link

[Bug]: 自 dev 4.10 7923a15 升级到 v4.13,超多行代码不再自动收起 #1512

Closed LittleNewton closed 4 months ago

LittleNewton commented 4 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

v4.13

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

macOS

依賴插件 | Package dependencies Information

hexo-site@0.0.0 /app
+-- hexo-admin@2.3.0
+-- hexo-generator-archive@2.0.0
+-- hexo-generator-category@2.0.0
+-- hexo-generator-feed@3.0.0
+-- hexo-generator-i18n@0.0.10
+-- hexo-generator-index@3.0.0
+-- hexo-generator-search@2.4.3
+-- hexo-generator-tag@2.0.0
+-- hexo-renderer-ejs@2.0.0
+-- hexo-renderer-markdown-it@7.1.0
+-- hexo-renderer-pug@3.0.0
+-- hexo-renderer-stylus@3.0.0
+-- hexo-server@3.0.0
+-- hexo-theme-landscape@1.0.0
+-- hexo-wordcount@6.0.1
`-- hexo@7.0.0-rc2

問題描述 | Describe the bug

自 v4.10 升级到 master 分支的 v4.13,超多行的代码块(如1000行的代码)不再自动收起,而是全部显示出来,造成阅读不便。

出現問題網站 | Website

https://littlenewton.uk/2023/08/tutorial-deploy-nvidia-gpu-toolkits-on-debian12/?highlight=cuda#3-%E5%AE%89%E8%A3%85-CUDA-toolkit

jerryc127 commented 4 months ago

image

LittleNewton commented 4 months ago

经过测试:

然而,

LittleNewton commented 4 months ago

image

这是因为我切换回 v4.10了。

LittleNewton commented 4 months ago

正在排出Cloudflare 代理的问题。

LittleNewton commented 4 months ago

步骤:

JS 行为就正常了。