Steps

Step-by-step instructions with numbered indicators. Ordered list items become individual steps.

Basic usage

Each ordered list item becomes a numbered step.

{% steps %}
1. Install the dependencies

   Run the install command for your package manager.

2. Create your content directory

   Add a `content/` folder with your Markdown files.

3. Start the dev server

   Run `npm run dev` and visit localhost.
{% /steps %}
  1. Install the dependencies

    Run the install command for your package manager.

  2. Create your content directory

    Add a content/ folder with your Markdown files.

  3. Start the dev server

    Run npm run dev and visit localhost.

Heading-based steps

Use headingLevel to convert headings into steps instead of list items.

{% steps headingLevel=3 %}
### Clone the repository

Fork and clone the repo to your local machine.

### Install dependencies

Run `npm install` to set up all packages.

### Run the tests

Verify everything works with `npm test`.
{% /steps %}
  1. Clone the repository

    Fork and clone the repo to your local machine.

  2. Install dependencies

    Run npm install to set up all packages.

  3. Run the tests

    Verify everything works with npm test.

Attributes

AttributeTypeDefaultDescription
headingLevelnumberConvert headings at this level into steps
splitstringSpace-separated column sizes for split layout
mirrorbooleanfalseMirror the split layout direction