Skip to content

Commit 53868ab

Browse files
authored
docs: add notice for demo description option
1 parent c1552b6 commit 53868ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/config/demo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default () => <>Hello world!</>;
6969
- 类型:`string`
7070
- 默认值:`undefined`
7171

72-
配置 demo 的描述,会展示在 demo 预览器里,后续也会用于搜索
72+
配置 demo 的描述,会展示在 demo 预览器里,支持被搜索;需要注意的是,**仅在 demo 标题已配置时才会展示描述**
7373

7474
## iframe
7575

@@ -90,7 +90,7 @@ export default () => <>Hello world!</>;
9090
- 类型:`string`
9191
- 默认值:`undefined`
9292

93-
配置 demo 的标题,会展示在 demo 预览器里,后续也会用于搜索
93+
配置 demo 的标题,会展示在 demo 预览器里,支持被搜索
9494

9595
## transform
9696

0 commit comments

Comments
 (0)