Skip to content

Commit d006e44

Browse files
authored
Vue3 highlightjs line numbers
Vue3 highlightjs with line numbers.
1 parent 235e10b commit d006e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ npm install @highlightjs/vue-plugin
1919
<script src="//cdn.jsdelivr.net/npm/highlightjs-line-numbers.js@2.8.0/dist/highlightjs-line-numbers.min.js"></script>
2020
<script type="text/javascript">
2121
window.onload = (event) => {
22-
hljs.highlightAll();
23-
hljs.initLineNumbersOnLoad({ startFrom: 1 });
22+
hljs.highlightAll();
23+
hljs.initLineNumbersOnLoad({ startFrom: 1 });
2424
}
2525
</script>
2626
<!-- Highligt.js (delete if you dont need code line numbers) -->

0 commit comments

Comments
 (0)