Skip to content

Commit 2daad08

Browse files
authored
docs(preview): add specify preview (#321)
1 parent 276874b commit 2daad08

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

pages/configuration/preview.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,18 @@ IMAGE
348348

349349
示例: `http://yourdomain/test-file.ahk?type=text`
350350
:::
351+
352+
## Specify preview { lang="en" }
353+
354+
## 指定预览 { lang="zh-CN" }
355+
356+
::: en
357+
We can specify the preview through the `preview` query parameter. The parameter will be generated when you select a preview in the file page.
358+
359+
Example: `http://yourdomain/test-file.ahk?preview=download`
360+
:::
361+
::: zh-CN
362+
可以通过 `preview` 请求参数来指定预览的 `key`。此参数会在文件页面选择预览时生成。
363+
364+
示例: `http://yourdomain/test-file.ahk?preview=download`
365+
:::

0 commit comments

Comments
 (0)