mirror of
https://github.com/imfing/hextra.git
synced 2025-08-24 11:26:35 -04:00
docs(blog): prepare for v0.10 release post (#746)
* docs(blog): prepare for v0.10 release post * Update v0.10.md * Update v0.10.md to refine upgrade instructions and enhance blog features. Added synchronized tab switching and pagination controls, while improving the search experience and table of contents navigation. * Enhance v0.10 release documentation with detailed upgrade instructions and migration guide. Added Tailwind theme variable customization section and clarified breaking changes. Improved clarity on CSS class prefix changes for better user experience. * Update v0.10.md to enhance upgrade instructions, clarify breaking changes, and improve overall readability. Adjusted formatting for consistency and added details on asset management and user experience improvements. * Add notable new features to v0.10.md, including dropdown menu support, enhanced search experience, and blog list pagination. Updated FlexSearch upgrade details for clarity and improved migration guide by removing redundant breaking change notes. * chore: update zh-cn translation * chore: update ja translation * chore: update fa and ja translations * chore: prepare release
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
title: 提示框组件
|
||||
linkTitle: 提示框
|
||||
aliases:
|
||||
- 提示框
|
||||
- callouts
|
||||
prev: /docs/guide/shortcodes
|
||||
---
|
||||
|
||||
@@ -11,73 +11,73 @@ prev: /docs/guide/shortcodes
|
||||
<!--more-->
|
||||
|
||||
> [!NOTE]
|
||||
> 自 [v0.9.0](https://github.com/imfing/hextra/releases/tag/v0.9.0) 起支持 [GitHub 风格的提醒](../../markdown#alerts)。
|
||||
> 它利用 Markdown 语法来渲染提示框,确保内容具有更好的可移植性和可读性。
|
||||
> 自 [v0.9.0](https://github.com/imfing/hextra/releases/tag/v0.9.0) 起支持 [GitHub风格提示框](../../markdown#alerts)。
|
||||
> 它利用Markdown语法渲染提示框,确保内容具有更好的可移植性和可读性。
|
||||
|
||||
## 示例
|
||||
|
||||
{{< callout emoji="👾">}}
|
||||
**提示框** 是一段简短的文本,旨在吸引注意力。
|
||||
**提示框**是一段旨在吸引注意力的简短文本。
|
||||
{{< /callout >}}
|
||||
|
||||
{{< callout type="info" >}}
|
||||
**提示框** 是一段简短的文本,旨在吸引注意力。
|
||||
**提示框**是一段旨在吸引注意力的简短文本。
|
||||
{{< /callout >}}
|
||||
|
||||
{{< callout type="warning" >}}
|
||||
**提示框** 是一段简短的文本,旨在吸引注意力。
|
||||
**提示框**是一段旨在吸引注意力的简短文本。
|
||||
{{< /callout >}}
|
||||
|
||||
{{< callout type="error" >}}
|
||||
**提示框** 是一段简短的文本,旨在吸引注意力。
|
||||
**提示框**是一段旨在吸引注意力的简短文本。
|
||||
{{< /callout >}}
|
||||
|
||||
## 用法
|
||||
## 使用方法
|
||||
|
||||
### 默认
|
||||
### 默认样式
|
||||
|
||||
{{< callout emoji="🌐">}}
|
||||
Hugo 可用于创建各种类型的网站,包括博客、作品集、文档站点等。
|
||||
Hugo可用于创建各种类型的网站,包括博客、作品集、文档站点等。
|
||||
{{< /callout >}}
|
||||
|
||||
```markdown
|
||||
{{</* callout emoji="🌐" */>}}
|
||||
Hugo 可用于创建各种类型的网站,包括博客、作品集、文档站点等。
|
||||
Hugo可用于创建各种类型的网站,包括博客、作品集、文档站点等。
|
||||
{{</* /callout */>}}
|
||||
```
|
||||
|
||||
### 信息
|
||||
### 信息提示
|
||||
|
||||
{{< callout type="info" >}}
|
||||
请访问 GitHub 查看最新版本。
|
||||
请访问GitHub查看最新发布版本。
|
||||
{{< /callout >}}
|
||||
|
||||
```markdown
|
||||
{{</* callout type="info" */>}}
|
||||
请访问 GitHub 查看最新版本。
|
||||
请访问GitHub查看最新发布版本。
|
||||
{{</* /callout */>}}
|
||||
```
|
||||
|
||||
### 警告
|
||||
### 警告提示
|
||||
|
||||
{{< callout type="warning" >}}
|
||||
此 API 将在下一个版本中弃用。
|
||||
此API将在下一版本中弃用。
|
||||
{{< /callout >}}
|
||||
|
||||
```markdown
|
||||
{{</* callout type="warning" */>}}
|
||||
**提示框** 是一段简短的文本,旨在吸引注意力。
|
||||
此API将在下一版本中弃用。
|
||||
{{</* /callout */>}}
|
||||
```
|
||||
|
||||
### 错误
|
||||
### 错误提示
|
||||
|
||||
{{< callout type="error" >}}
|
||||
出错了,系统即将崩溃。
|
||||
出现错误,系统即将崩溃。
|
||||
{{< /callout >}}
|
||||
|
||||
```markdown
|
||||
{{</* callout type="error" */>}}
|
||||
出错了,系统即将崩溃。
|
||||
出现错误,系统即将崩溃。
|
||||
{{</* /callout */>}}
|
||||
```
|
Reference in New Issue
Block a user