Skip to content

Content tabs

Tabs keep equivalent instructions together. Each selection shows one path.

Open Terminal and check the active shell:

echo "$SHELL"

Open a terminal and check the active shell:

echo "$SHELL"

Open PowerShell and check its version:

$PSVersionTable.PSVersion
Show Markdown source
=== "macOS"

    Open Terminal and check the active shell:

    ```sh
    echo "$SHELL"
    ```

=== "Linux"

    Open a terminal and check the active shell:

    ```sh
    echo "$SHELL"
    ```

=== "Windows"

    Open PowerShell and check its version:

    ```powershell
    $PSVersionTable.PSVersion
    ```

Nested alternatives

Tabs can contain other tabs and can be nested inside an admonition. Tab labels also have shareable anchors.

Choose an environment

Run git status to inspect your working tree.

Run git diff to review uncommitted changes.

Open the repository in your browser to review its history.

Show Markdown source
!!! example "Choose an environment"
    === "Local"
        === "Inspect"
            Run `git status` to inspect your working tree.
        === "Review"
            Run `git diff` to review uncommitted changes.
    === "Remote"
        Open the repository in your browser to review its history.

References