SimpleWiki

Steps

The steps component displays a sequence of instructions or actions in a numbered format.

It is useful for tutorials, installation guides, setup instructions, and other step-by-step processes.


Basic Usage

::steps

:::div{title="Install dependencies"}

Run the required installation command.

:::

:::div{title="Configure the project"}

Update the configuration files with your settings.

:::

:::div{title="Start the application"}

Launch the application and verify everything works.

:::

::

Result:

  1. 1
    Install dependencies

    Run the required installation command.

  2. 2
    Configure the project

    Update the configuration files with your settings.

  3. 3
    Start the application

    Launch the application and verify everything works.


Custom Titles

Each step can have its own title using the title property.

::steps

:::div{title="Create an account"}

Register a new account before continuing.

:::

:::div{title="Verify your email"}

Click the verification link sent to your inbox.

:::

::

Result:

  1. 1
    Create an account

    Register a new account before continuing.

  2. 2
    Verify your email

    Click the verification link sent to your inbox.


Without a Title

If no title is provided, the component automatically generates a default title.

::steps

:::

This step uses the default title.

:::

::

Result:

  1. 1
    Step 1

    This step uses the default title.


Markdown Support

Steps support Markdown formatting and other SimpleWiki components.

::steps
    :::div{title="Install the package"}

    Run:

    ```bash
    npm install example-package
    ```

    :::

    :::div{title="Enable the feature"}

    ::info-box{type="tip"}
    Make sure the feature is enabled in your configuration.
    ::

    :::
::

Result:

  1. 1
    Install the package

    Run:

    npm install example-package
    
  2. 2
    Enable the feature

    Make sure the feature is enabled in your configuration.