QuillDocs

Accordions

Questions with answers that open in place.

An accordion keeps a long list of questions short. The question shows, and the answer opens when it is chosen.

Can readers search inside answers?

Yes. Search reads the whole page, including closed answers.

Can an answer hold other blocks?

Yes. Lists, code, images and callouts all work inside an answer.

:::accordion[The question]
The answer.
:::