chore: rename components to shortcodes

This commit is contained in:
Xin
2023-08-19 00:16:32 +01:00
parent bb6b0631e5
commit 8298278a42
8 changed files with 10 additions and 6 deletions

View File

@ -0,0 +1,40 @@
---
title: Steps
---
A built-in component to display a series of steps.
## Example
{{% steps %}}
### Step 1
This is the first step.
### Step 2
This is the second step.
### Step 3
This is the third step.
{{% /steps %}}
## Usage
Put Markdown h3 header within `steps` shortcode.
```
{{%/* steps */%}}
### Step 1
This is the first step.
### Step 2
This is the second step.
{{%/* /steps */%}}
```