Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuaiwen committed Jan 26, 2024
1 parent 5cc0608 commit 13539b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
import {defineUserConfig} from "vuepress";
import theme from "./theme.js";
import {commentPlugin} from "vuepress-plugin-comment2";
import {mdEnhancePlugin} from "vuepress-plugin-md-enhance";

export default defineUserConfig({
dest: "./dist",
title: "个人博客",
description: "个人博客",
lang: "zh-CN",
plugins: [
mdEnhancePlugin({
// 启用 figure
figure: true,
// 启用图片懒加载
imgLazyload: true,
// 启用图片标记
imgMark: true,
// 启用图片大小
imgSize: true,
}),
// https://plugin-comment2.vuejs.press/zh/config/giscus.html#darktheme
commentPlugin({
provider: "Giscus",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"vuepress-plugin-comment2": "2.0.0-rc.11",
"vuepress-plugin-copyright2": "2.0.0-rc.11",
"vuepress-plugin-feed2": "2.0.0-rc.11",
"vuepress-plugin-md-enhance": "2.0.0-rc.12",
"vuepress-theme-hope": "2.0.0-rc.11"
}
}

0 comments on commit 13539b9

Please sign in to comment.