mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): twoslash comment error (#881)
* fix(theme): fix incorrect auto-sidebar-link parse * fix(theme): twoslash comment error
This commit is contained in:
parent
7febfbf237
commit
aede6f5d87
@ -82,6 +82,7 @@ interface SearchBoxLocale {
|
|||||||
### 启用
|
### 启用
|
||||||
|
|
||||||
```ts title=".vuepress/config.ts" twoslash
|
```ts title=".vuepress/config.ts" twoslash
|
||||||
|
// @errors: 2353
|
||||||
import { defineUserConfig } from 'vuepress'
|
import { defineUserConfig } from 'vuepress'
|
||||||
import { plumeTheme } from 'vuepress-theme-plume'
|
import { plumeTheme } from 'vuepress-theme-plume'
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ permalink: /config/watermark/
|
|||||||
## 使用
|
## 使用
|
||||||
|
|
||||||
```ts title=".vuepress/config.ts" twoslash
|
```ts title=".vuepress/config.ts" twoslash
|
||||||
|
// @errors: 7006
|
||||||
import { defineUserConfig } from 'vuepress'
|
import { defineUserConfig } from 'vuepress'
|
||||||
import { plumeTheme } from 'vuepress-theme-plume'
|
import { plumeTheme } from 'vuepress-theme-plume'
|
||||||
|
|
||||||
|
|||||||
@ -82,6 +82,7 @@ Refer to [Algolia DocSearch Reference](/guide/features/content-search/#algolia-d
|
|||||||
### Enable
|
### Enable
|
||||||
|
|
||||||
```ts title=".vuepress/config.ts" twoslash
|
```ts title=".vuepress/config.ts" twoslash
|
||||||
|
// @errors: 2353
|
||||||
import { defineUserConfig } from 'vuepress'
|
import { defineUserConfig } from 'vuepress'
|
||||||
import { plumeTheme } from 'vuepress-theme-plume'
|
import { plumeTheme } from 'vuepress-theme-plume'
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@ Related plugin: [@vuepress/plugin-watermark](https://ecosystem.vuejs.press/zh/pl
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts title=".vuepress/config.ts" twoslash
|
```ts title=".vuepress/config.ts" twoslash
|
||||||
|
// @errors: 7006
|
||||||
import { defineUserConfig } from 'vuepress'
|
import { defineUserConfig } from 'vuepress'
|
||||||
import { plumeTheme } from 'vuepress-theme-plume'
|
import { plumeTheme } from 'vuepress-theme-plume'
|
||||||
|
|
||||||
|
|||||||
@ -26,3 +26,7 @@
|
|||||||
--twoslash-matched-color: var(--vp-c-brand-1);
|
--twoslash-matched-color: var(--vp-c-brand-1);
|
||||||
--twoslash-unmatched-color: var(--vp-c-text-2);
|
--twoslash-unmatched-color: var(--vp-c-text-2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.v-popper__popper[data-popper-placement^="bottom"] .v-popper__arrow-inner {
|
||||||
|
top: -4.5px !important;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user