mirror of
https://github.com/imfing/hextra.git
synced 2025-08-23 16:46:37 -04:00

* 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
609 B
609 B
title
title |
---|
步骤 |
一个内置组件,用于显示一系列步骤。
示例
{{% steps %}}
第一步
这是第一步。
第二步
这是第二步。
第三步
这是第三步。
{{% /steps %}}
使用方法
{{< callout type="warning" >}} 请注意,此短代码仅适用于Markdown内容。 如果在步骤内容中放入HTML或其他短代码,可能无法按预期渲染。 {{< /callout >}}
在steps
短代码内放置Markdown的三级标题。
{{%/* steps */%}}
### 第一步
这是第一步。
### 第二步
这是第二步。
{{%/* /steps */%}}