---
description: components and formatting examples used in Docker's docs
title: Accordions
toc_max: 3
---

## Example

{{< accordion title="Accordion example" >}}

```console
$ docker run hello-world
```

{{< /accordion >}}

## Markup

````markdown
{{</* accordion title="Accordion example" */>}}

```console
$ docker run hello-world
```

{{</* /accordion */>}}
````
