Skip to content

Commit f9086cf

Browse files
authored
feature (#104): enable line numbers on code blocks (#121)
1 parent 73bf41f commit f9086cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/.vuepress/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ module.exports = {
222222
]
223223
],
224224
markdown: {
225+
lineNumbers: true,
225226
/** @param {import('markdown-it')} md */
226227
extendMarkdown: md => {
227228
md.options.highlight = require('./markdown/highlight')(

0 commit comments

Comments
 (0)