mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
perf: 更换代码高亮初始化函数
This commit is contained in:
parent
07c964ffd2
commit
33e0b50840
@ -89,7 +89,7 @@ const postContext = {
|
||||
/* 代码块高亮 */
|
||||
initHighlighting() {
|
||||
// 初始化代码块高亮工具
|
||||
hljs.initHighlightingOnLoad()
|
||||
hljs.highlightAll()
|
||||
},
|
||||
/**
|
||||
* 初始化分享
|
||||
|
Loading…
x
Reference in New Issue
Block a user