# Details

Details fold content away under a title. Readers open it with a click when they need it.

```markdown
::: details What does Clay do with HTML in my docs?
It keeps safe HTML and removes scripts, forms and styles. See [HTML](../html.md).
:::
```

::: details What does Clay do with HTML in my docs?
It keeps safe HTML and removes scripts, forms and styles. See [HTML](https://clay-doc.github.io/clay-example-repo/4.x/writing/html.md).
:::

- **The title** follows the name and may use inline Markdown like `code` and **bold**. Without one, the title is "Details" in the language of the page.
- **The content** is any Markdown, including code blocks and other components.
- **Folded content is found by the search.** Opening a result inside it opens the section.

## A list of questions

Several details in a row make a compact FAQ:

```markdown
::: details Does Clay need a server?
No. It builds static HTML that any web host can serve.
:::

::: details Can I use my own domain?
Yes, see [GitHub Pages](../../publishing/github-pages.md).
:::
```

::: details Does Clay need a server?
No. It builds static HTML that any web host can serve.
:::

::: details Can I use my own domain?
Yes, see [GitHub Pages](https://clay-doc.github.io/clay-example-repo/4.x/publishing/github-pages.md).
:::

> [!TIP]
> Fold what only some readers need: long output, edge cases, background. What everyone needs belongs on the page.

---

All pages of these docs, as Markdown for language models: https://clay-doc.github.io/clay-example-repo/4.x/llms.txt
