Skip to content

Commit

Permalink
Merge branch 'main' into theme-hope
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 22, 2024
2 parents c21de39 + b800fc8 commit f5add2e
Show file tree
Hide file tree
Showing 5 changed files with 1,080 additions and 996 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ node_modules/

# Log files
*.log

# npm config
.npmrc
4 changes: 4 additions & 0 deletions docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ const defaultOptions = {
- [Cookbook > Markdown and Vue SFC](../advanced/cookbook/markdown-and-vue-sfc.md)
- [Node API > Page Properties > sfcBlocks](./node-api.md#sfcblocks)

::: danger
You should not configure it unless you understand what it is for.
:::

### markdown.slugify

- Type: `(str: string) => string`
Expand Down
32 changes: 18 additions & 14 deletions docs/zh/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,20 +555,6 @@ const defaultOptions = {
- 参考:
- [Node API > Page 属性 > headers](./node-api.md#headers)

### markdown.title

- 类型: `undefined | false`

- 详情:

[@mdit-vue/plugin-title](https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-title) 插件的配置项。

设置为 `false` 可以禁用该插件。

::: danger
除非你了解它的用途,否则你不应该设置该配置项。
:::

### markdown.importCode

- 类型: `ImportCodePluginOptions | false`
Expand Down Expand Up @@ -643,6 +629,10 @@ const defaultOptions = {
- [Cookbook > Markdown 与 Vue SFC](../advanced/cookbook/markdown-and-vue-sfc.md)
- [Node API > Page 属性 > sfcBlocks](./node-api.md#sfcblocks)

::: danger
除非你了解它的用途,否则你不应该设置该配置项。
:::

### markdown.slugify

- 类型: `(str: string) => string`
Expand All @@ -651,6 +641,20 @@ const defaultOptions = {

默认使用的 slugify 函数。

### markdown.title

- 类型: `undefined | false`

- 详情:

[@mdit-vue/plugin-title](https://github.com/mdit-vue/mdit-vue/tree/main/packages/plugin-title) 插件的配置项。

设置为 `false` 可以禁用该插件。

::: danger
除非你了解它的用途,否则你不应该设置该配置项。
:::

### markdown.toc

- 类型: `TocPluginOptions | false`
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,36 @@
},
"prettier": "prettier-config-vuepress",
"dependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.7",
"@vuepress/bundler-webpack": "2.0.0-rc.7",
"@vuepress/plugin-docsearch": "2.0.0-rc.12",
"@vuepress/plugin-google-analytics": "2.0.0-rc.12",
"@vuepress/plugin-register-components": "2.0.0-rc.12",
"@vuepress/plugin-shiki": "2.0.0-rc.12",
"@vuepress/theme-default": "2.0.0-rc.12",
"@vuepress/bundler-vite": "2.0.0-rc.8",
"@vuepress/bundler-webpack": "2.0.0-rc.8",
"@vuepress/plugin-docsearch": "2.0.0-rc.17",
"@vuepress/plugin-google-analytics": "2.0.0-rc.15",
"@vuepress/plugin-register-components": "2.0.0-rc.15",
"@vuepress/plugin-shiki": "2.0.0-rc.17",
"@vuepress/theme-default": "2.0.0-rc.17",
"anywhere": "^1.6.0",
"sass-loader": "^14.1.0",
"vue": "^3.4.15",
"vuepress": "2.0.0-rc.7",
"vuepress-theme-hope": "2.0.0-rc.23"
"sass-loader": "^14.1.1",
"vue": "^3.4.19",
"vuepress": "2.0.0-rc.8",
"vuepress-theme-hope": "2.0.0-rc.26"
},
"devDependencies": {
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"eslint": "^8.56.0",
"eslint-config-vuepress": "^4.10.0",
"eslint-config-vuepress-typescript": "^4.10.0",
"husky": "^9.0.10",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-config-vuepress": "^4.4.0",
"rimraf": "^5.0.5",
"sort-package-json": "^2.7.0",
"sort-package-json": "^2.8.0",
"tsconfig-vuepress": "^4.5.0",
"typescript": "^5.3.3"
},
"packageManager": "[email protected].1",
"packageManager": "[email protected].3",
"engines": {
"node": ">=18.16.0"
"node": ">=18.18.0"
}
}
Loading

0 comments on commit f5add2e

Please sign in to comment.