Files
hextra/exampleSite/content/docs/guide/shortcodes/steps.zh-cn.md
Ludovic Fernandez f4d75a4e5b feat(callout): revamp of the callouts (#767)
* feat(callout): revamp of the callouts

* fix: doc

* chore: refactor gh alert

* feat: same colors on callouts and gh alerts

* docs: more relevant examples

* docs: i18n

* docs: update existing callouts
2025-08-21 23:31:16 +01:00

47 lines
609 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 步骤
---
一个内置组件,用于显示一系列步骤。
## 示例
{{% steps %}}
### 第一步
这是第一步。
### 第二步
这是第二步。
### 第三步
这是第三步。
{{% /steps %}}
## 使用方法
{{< callout type="warning" >}}
请注意,此短代码**仅适用于Markdown内容**。
如果在步骤内容中放入HTML或其他短代码可能无法按预期渲染。
{{< /callout >}}
`steps`短代码内放置Markdown的三级标题。
```
{{%/* steps */%}}
### 第一步
这是第一步。
### 第二步
这是第二步。
{{%/* /steps */%}}
```