Home Explore Blog Models CI



docker

1st chunk of `content/contribute/components/accordions.md`
f10cc25346383fa58537f7c4f2949c284836dac282cc80340000000100000170
---
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 */>}}
````

Title: Docker Documentation: Accordion Component
Summary
This section demonstrates how to use the accordion component in Docker's documentation. It provides an example of how to create an accordion with a title and content, including the necessary markdown markup.