mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-17 18:31:21 +08:00
优化导入后的显示
This commit is contained in:
@@ -69,11 +69,11 @@ function loadDocument($url, $id, $callback) {
|
||||
* 初始化代码高亮
|
||||
*/
|
||||
function initHighlighting() {
|
||||
$('pre code,pre.ql-syntax').each(function (i, block) {
|
||||
$('pre,pre.ql-syntax').each(function (i, block) {
|
||||
hljs.highlightBlock(block);
|
||||
});
|
||||
|
||||
hljs.initLineNumbersOnLoad();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user