docs: add password_hint tip

This commit is contained in:
YunYouJun 2025-04-21 02:33:46 +08:00
parent af8d15078f
commit baa2c75407
2 changed files with 5 additions and 0 deletions

View File

@ -560,6 +560,7 @@ Set `password` in the Front Matter of the article:
```md {2}
---
password: your_password
password_hint: 自定义密码提示
---
```

View File

@ -153,6 +153,10 @@ export interface PageFrontMatter extends Record<string, any> {
* @description:zh-CN
*/
password?: string
/**
* @description:zh-CN
*/
password_hint?: string
/**
* @description:zh-CN
*/