diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 4bb0b1f..f064538 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -320,4 +320,8 @@ export default defineConfig4CustomTheme({ }, }, }, + + markdown: { + lineNumbers: true + } }) diff --git a/package.json b/package.json index e8da90f..e1ca6da 100644 --- a/package.json +++ b/package.json @@ -18,15 +18,13 @@ "vuepress": "1.9.5", "vuepress-plugin-baidu-autopush": "^1.0.1", "vuepress-plugin-baidu-tongji": "^1.0.1", + "vuepress-plugin-comment": "^0.7.3", "vuepress-plugin-demo-block": "^0.7.2", "vuepress-plugin-fulltext-search": "^2.2.1", "vuepress-plugin-one-click-copy": "^1.0.2", "vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-zooming": "^1.1.7", - "vuepress-theme-vdoing": "^1.9.3", + "vuepress-theme-vdoing": "^1.9.4", "yamljs": "^0.3.0" - }, - "dependencies": { - "vuepress-plugin-comment": "^0.7.3" } } diff --git a/vdoing/package.json b/vdoing/package.json index 8233bb0..8a2f7c6 100644 --- a/vdoing/package.json +++ b/vdoing/package.json @@ -1,6 +1,6 @@ { "name": "vuepress-theme-vdoing", - "version": "1.9.3", + "version": "1.9.4", "description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。", "author": { "name": "gaoyi(Evan) Xu"