mirror of https://github.com/YunYouJun/valaxy
docs: update encrypted post content demo
This commit is contained in:
parent
b1d77e7a65
commit
3cd1c63896
|
@ -6,24 +6,26 @@ categories:
|
|||
- examples
|
||||
---
|
||||
|
||||
密码为 `valaxy`。
|
||||
|
||||
```md
|
||||
<!-- valaxy-encrypt-start:valaxy -->
|
||||
::: details dynamically rendered frontmatter
|
||||
{{ frontmatter }}
|
||||
我是被加密的文本。
|
||||
|
||||
::: details dynamically rendered frontmatter 支持动态渲染
|
||||
**Frontmatter**: {{ frontmatter }}
|
||||
:::
|
||||
<!-- valaxy-encrypt-end -->
|
||||
```
|
||||
|
||||
::: zh-CN
|
||||
渲染结果
|
||||
:::
|
||||
## 渲染结果 {lang="zh-CN"}
|
||||
|
||||
::: en
|
||||
Rendering result
|
||||
:::
|
||||
## Rendering result {lang="en"}
|
||||
|
||||
<!-- valaxy-encrypt-start:valaxy -->
|
||||
::: details dynamically rendered frontmatter
|
||||
{{ frontmatter }}
|
||||
我是被加密的文本。
|
||||
|
||||
::: details dynamically rendered frontmatter 支持动态渲染
|
||||
**Frontmatter**: {{ frontmatter }}
|
||||
:::
|
||||
<!-- valaxy-encrypt-end -->
|
||||
|
|
|
@ -45,10 +45,9 @@ export default defineConfig({
|
|||
'custom-uno-btn',
|
||||
'px-4 py-1 rounded inline-block bg-teal-700 text-white cursor-pointer !outline-none hover:bg-teal-800 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'
|
||||
],
|
||||
]
|
||||
],
|
||||
safelist: ['bg-red-500'],
|
||||
})
|
||||
|
||||
```
|
||||
|
||||
::: zh-CN
|
||||
|
|
Loading…
Reference in New Issue