Skip to content

Commit

Permalink
docs: add notice for demo description option
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Feb 21, 2023
1 parent c1552b6 commit 53868ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default () => <>Hello world!</>;
- 类型:`string`
- 默认值:`undefined`

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

## iframe

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

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

## transform

Expand Down

1 comment on commit 53868ab

@PeachScript
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.