Closed kirin-lin closed 1 year ago
hello, @kirin-lin I had the same problem not long ago, you should go to the console and check your style theme:
You should then mark your block language, otherwise, the default style will be used.
@kirin-lin @guoqqqi 我也遇到了这个问题,后台都设置好了,但是没有高亮。在网上搜到这样一条微博,不知道是不是Bug。https://m.weibo.cn/status/4769749390855314
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.
This issue was closed because it has been inactive for 14 days since being marked as stale.
如果沒有提供以下詳細資訊,您開立的問題回報會被無視。
問題或臭蟲
在安裝新版的 Wordpress (6.0 及 5.9.4) 中,語法高亮功能無法正常顯示。
如何重現
請告知重現此問題的步驟回何:
預期的行為或結果 理論上程式碼會出現彩色的字型,但是卻沒有出現。不管是用 prism.js 或是 highlight.js 都無法正常。 在預覽時,程式碼高亮的功能可以正常顯示。
清楚的說明您預期什麼樣的結果才是正常。
畫面截圖![1663409653652](https://user-images.githubusercontent.com/6138549/190851780-61820065-58f3-4f49-aa09-88be480f38d9.jpg)
伺服器環境 ubuntu 20 + apache2
用戶端環境
其它說明
如果有的話,請提供。