Commit 256c67b4 by yanju

修改代码高亮

parent 533537be
......@@ -187,7 +187,7 @@
});
const preEl = document.querySelectorAll('pre');
preEl.forEach((el) => {
this.$hljs.highlightBlock(el)
// this.$hljs.highlightBlock(el)
this.$hljs.lineNumbersBlock(el);
})
console.log(preEl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment