diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts
index 459dd40a..896231e1 100644
--- a/docs/.vuepress/config.ts
+++ b/docs/.vuepress/config.ts
@@ -31,6 +31,10 @@ export default defineUserConfig({
theme: themePlume({
logo: 'https://pengzhanbo.cn/g.gif',
hostname: 'https://pengzhanbo.cn',
+ repo: 'https://github.com/pengzhanbo/vuepress-theme-plume',
+ docsDir: 'docs',
+ editLink: true,
+ editLinkText: 'Edit this page on GitHub',
appearance: true,
avatar: {
url: '/images/blogger.jpg',
diff --git a/docs/README.md b/docs/README.md
index f9f3abf7..f01219b7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,6 +1,8 @@
---
home: true
banner: /images/bg-home.jpg
+bannerMask:
+ dark: 0.2
hero:
name: 鹏展博
tagline: 前端开发工程师
diff --git a/docs/notes/vuepress-theme-plume/README.md b/docs/notes/vuepress-theme-plume/README.md
index 3cab3958..6ca1487e 100644
--- a/docs/notes/vuepress-theme-plume/README.md
+++ b/docs/notes/vuepress-theme-plume/README.md
@@ -55,7 +55,7 @@ npm i @vuepress-plume/vuepress-theme-plume
// .vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { themePlume } from '@vuepress-plume/vuepress-theme-plume'
-export default defineUserConfig({ // [!code focus]
+export default defineUserConfig({
theme: themePlume({
// more...
})
diff --git a/docs/notes/vuepress-theme-plume/markdown增强.md b/docs/notes/vuepress-theme-plume/markdown增强.md
index 3f4199e7..25b08fde 100644
--- a/docs/notes/vuepress-theme-plume/markdown增强.md
+++ b/docs/notes/vuepress-theme-plume/markdown增强.md
@@ -58,6 +58,17 @@ markdown 增强 由 [vuepress-plugin-md-enhance](https://vuepress-theme-hope.git
警告内容
:::
+- 危险
+ ``` md
+ ::: danger 危险
+ 危险内容
+ :::
+ ```
+ ::: danger 危险
+ 危险内容
+ `markdown`
+ :::
+
- 详情
``` md
::: details 详情
@@ -68,6 +79,17 @@ markdown 增强 由 [vuepress-plugin-md-enhance](https://vuepress-theme-hope.git
详情信息
:::
+- 重要
+
+ ``` md
+ ::: important 重要
+ 重要内容
+ :::
+ ```
+ ::: important 重要
+ 重要内容
+ :::
+
## 自定义对齐
- 左对齐
diff --git a/docs/notes/vuepress-theme-plume/基础功能.md b/docs/notes/vuepress-theme-plume/基础功能.md
index c567f5ee..89b8073d 100644
--- a/docs/notes/vuepress-theme-plume/基础功能.md
+++ b/docs/notes/vuepress-theme-plume/基础功能.md
@@ -76,3 +76,18 @@ permalink: /note/vuepress-theme-plume/basis-power/
## 文章评论
支持文章评论。
+
+## Badge
+
+-
+-
+-
+-
+
+````md
+```js
+export default function foo() {
+ console.log('foo'); // [\!code ++]
+}
+```
+````
diff --git a/theme/package.json b/theme/package.json
index 1289c858..f5fc3110 100644
--- a/theme/package.json
+++ b/theme/package.json
@@ -67,17 +67,16 @@
"@vuepress/shared": "2.0.0-rc.0",
"@vuepress/utils": "2.0.0-rc.0",
"@vueuse/core": "^10.7.0",
- "date-fns": "^3.0.5",
+ "date-fns": "^3.0.6",
"lodash.merge": "^4.6.2",
"nanoid": "^5.0.4",
"ts-debounce": "^4.0.0",
"vue": "^3.3.13",
"vue-router": "4.2.5",
- "vuepress-plugin-comment2": "2.0.0-rc.0",
- "vuepress-plugin-md-enhance": "2.0.0-rc.0",
- "vuepress-plugin-seo2": "2.0.0-rc.0",
- "vuepress-plugin-sitemap2": "2.0.0-rc.0",
- "windicss": "^3.5.6"
+ "vuepress-plugin-comment2": "2.0.0-rc.5",
+ "vuepress-plugin-md-enhance": "2.0.0-rc.5",
+ "vuepress-plugin-seo2": "2.0.0-rc.5",
+ "vuepress-plugin-sitemap2": "2.0.0-rc.5"
},
"devDependencies": {
"@types/lodash.merge": "^4.6.9"