Skip to content

Commit acbb1a7

Browse files
committed
docs(theme-default): tweak plugins config
1 parent cc27026 commit acbb1a7

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

Diff for: docs/reference/default-theme/config.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ module.exports = {
535535

536536
This is mainly for a11y purpose.
537537

538-
## Plugins
538+
## Plugins Config
539539

540540
### themePlugins
541541

@@ -545,7 +545,7 @@ module.exports = {
545545

546546
Default theme is using some plugins by default. You can disable a plugin if you really do not want to use it. Make sure you understand what the plugin is for before disabling it.
547547

548-
#### themePlugins.activeHeaderLinks
548+
### themePlugins.activeHeaderLinks
549549

550550
- Type: `boolean`
551551

@@ -555,7 +555,7 @@ module.exports = {
555555

556556
Enable [@vuepress/plugin-active-header-links](../plugin/active-header-links.md) or not.
557557

558-
#### themePlugins.backToTop
558+
### themePlugins.backToTop
559559

560560
- Type: `boolean`
561561

@@ -565,7 +565,7 @@ module.exports = {
565565

566566
Enable [@vuepress/plugin-back-to-top](../plugin/back-to-top.md) or not.
567567

568-
#### themePlugins.container
568+
### themePlugins.container
569569

570570
- Type: `Record<ContainerType, boolean>`
571571

@@ -585,7 +585,7 @@ module.exports = {
585585
- Also see:
586586
- [Default Theme > Markdown > Custom Containers](./markdown.md#custom-containers)
587587

588-
#### themePlugins.git
588+
### themePlugins.git
589589

590590
- Type: `boolean`
591591

@@ -595,7 +595,7 @@ module.exports = {
595595

596596
Enable [@vuepress/plugin-git](../plugin/git.md) or not.
597597

598-
#### themePlugins.mediumZoom
598+
### themePlugins.mediumZoom
599599

600600
- Type: `boolean`
601601

@@ -605,7 +605,7 @@ module.exports = {
605605

606606
Enable [@vuepress/plugin-medium-zoom](../plugin/medium-zoom.md) or not.
607607

608-
#### themePlugins.nprogress
608+
### themePlugins.nprogress
609609

610610
- Type: `boolean`
611611

Diff for: docs/zh/reference/default-theme/config.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ module.exports = {
535535

536536
它主要是为了站点的可访问性 (a11y) 。
537537

538-
## 插件
538+
## 插件配置
539539

540540
### themePlugins
541541

@@ -545,7 +545,7 @@ module.exports = {
545545

546546
默认主题使用了一些插件,如果你确实不需要该插件,你可以选择禁用它。在禁用插件之前,请确保你已了解它的用途。
547547

548-
#### themePlugins.activeHeaderLinks
548+
### themePlugins.activeHeaderLinks
549549

550550
- 类型: `boolean`
551551

@@ -565,7 +565,7 @@ module.exports = {
565565

566566
是否启用 [@vuepress/plugin-back-to-top](../plugin/back-to-top.md)
567567

568-
#### themePlugins.container
568+
### themePlugins.container
569569

570570
- 类型: `Record<ContainerType, boolean>`
571571

@@ -585,7 +585,7 @@ module.exports = {
585585
- 参考:
586586
- [默认主题 > Markdown > 自定义容器](./markdown.md#自定义容器)
587587

588-
#### themePlugins.git
588+
### themePlugins.git
589589

590590
- 类型: `boolean`
591591

@@ -595,7 +595,7 @@ module.exports = {
595595

596596
是否启用 [@vuepress/plugin-git](../plugin/git.md)
597597

598-
#### themePlugins.mediumZoom
598+
### themePlugins.mediumZoom
599599

600600
- 类型: `boolean`
601601

@@ -605,7 +605,7 @@ module.exports = {
605605

606606
是否启用 [@vuepress/plugin-medium-zoom](../plugin/medium-zoom.md)
607607

608-
#### themePlugins.nprogress
608+
### themePlugins.nprogress
609609

610610
- 类型: `boolean`
611611

0 commit comments

Comments
 (0)