Commit 71a65534 by yanju

去除行号

parent d4be7412
...@@ -218,7 +218,8 @@ ...@@ -218,7 +218,8 @@
}); });
const preEl = document.querySelectorAll('pre'); const preEl = document.querySelectorAll('pre');
preEl.forEach((el) => { preEl.forEach((el) => {
this.$hljs.lineNumbersBlock(el); this.$hljs.highlightBlock(el)
//this.$hljs.lineNumbersBlock(el);
}) })
} }
......
...@@ -226,7 +226,8 @@ ...@@ -226,7 +226,8 @@
}); });
const preEl = document.querySelectorAll('pre'); const preEl = document.querySelectorAll('pre');
preEl.forEach((el) => { preEl.forEach((el) => {
this.$hljs.lineNumbersBlock(el); this.$hljs.highlightBlock(el)
// this.$hljs.lineNumbersBlock(el);
}) })
} }
......
...@@ -183,7 +183,8 @@ ...@@ -183,7 +183,8 @@
}); });
const preEl = document.querySelectorAll('pre'); const preEl = document.querySelectorAll('pre');
preEl.forEach((el) => { preEl.forEach((el) => {
this.$hljs.lineNumbersBlock(el); this.$hljs.highlightBlock(el)
// this.$hljs.lineNumbersBlock(el);
}) })
} }
......
...@@ -218,7 +218,8 @@ ...@@ -218,7 +218,8 @@
}); });
const preEl = document.querySelectorAll('pre'); const preEl = document.querySelectorAll('pre');
preEl.forEach((el) => { preEl.forEach((el) => {
this.$hljs.lineNumbersBlock(el); this.$hljs.highlightBlock(el)
// this.$hljs.lineNumbersBlock(el);
}) })
} }
......
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