Expandable
Add an expandable block to a page to keep your pages shorter, hide longer content, or create FAQs
Expandable blocks are helpful in condensing what could otherwise be a lengthy paragraph. They are also great in step-by-step guides and FAQs.
By default, expandable blocks will be collapsed on your published docs site. If you want an expandable block to be expanded by default, open the block’s Options menu and choose Expanded by default.
Example
Representation in Markdown
# Expandable blocks
<details open>
<summary>Add your expandable title here</summary>
Add your expandable body text here. This expandable is expanded by default.
</details>
<details>
<summary>Add your expandable title here</summary>
Add your expandable body text here. This expandable is collapsed by default.
</details>Limitations
There are some limitations on which blocks you can create inside of an expandable block. You can check the full list by starting a new line in an expandable block and pressing / to bring up the insert palette.
Last updated
Was this helpful?