Skip to content

Commit

Permalink
😏 Fix: 代码行号错误 #6
Browse files Browse the repository at this point in the history
  • Loading branch information
BigCoke233 authored Oct 13, 2019
1 parent 36738cc commit 1376933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/miracles.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function highlight() {
$(document).ready(function () {
$('pre code').each(function (i, block) {
hljs.highlightBlock(block);
hljs.initLineNumbersOnLoad({singleLine:true});
hljs.lineNumbersBlock(block,{singleLine:true});
})
});
}
Expand Down

0 comments on commit 1376933

Please sign in to comment.