mirror of
https://github.com/imfing/hextra.git
synced 2025-08-24 14:26:44 -04:00

* 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
1.8 KiB
1.8 KiB
title, linkTitle, aliases, prev
title | linkTitle | aliases | prev | |
---|---|---|---|---|
提示框组件 | 提示框 |
|
/docs/guide/shortcodes |
一个内置组件,用于向读者展示重要信息。
Note
自 v0.9.0 起支持 GitHub风格提示框。 它利用Markdown语法渲染提示框,确保内容具有更好的可移植性和可读性。
示例
{{< callout emoji="👾">}} 提示框是一段旨在吸引注意力的简短文本。 {{< /callout >}}
{{< callout type="info" >}} 提示框是一段旨在吸引注意力的简短文本。 {{< /callout >}}
{{< callout type="warning" >}} 提示框是一段旨在吸引注意力的简短文本。 {{< /callout >}}
{{< callout type="error" >}} 提示框是一段旨在吸引注意力的简短文本。 {{< /callout >}}
使用方法
默认样式
{{< callout emoji="🌐">}} Hugo可用于创建各种类型的网站,包括博客、作品集、文档站点等。 {{< /callout >}}
{{</* callout emoji="🌐" */>}}
Hugo可用于创建各种类型的网站,包括博客、作品集、文档站点等。
{{</* /callout */>}}
信息提示
{{< callout type="info" >}} 请访问GitHub查看最新发布版本。 {{< /callout >}}
{{</* callout type="info" */>}}
请访问GitHub查看最新发布版本。
{{</* /callout */>}}
警告提示
{{< callout type="warning" >}} 此API将在下一版本中弃用。 {{< /callout >}}
{{</* callout type="warning" */>}}
此API将在下一版本中弃用。
{{</* /callout */>}}
错误提示
{{< callout type="error" >}} 出现错误,系统即将崩溃。 {{< /callout >}}
{{</* callout type="error" */>}}
出现错误,系统即将崩溃。
{{</* /callout */>}}