Hyperbook Documentation

Collapsible

If you want to show additional content, which should not be seen at first glance, you can use a collapsible. Collapsibles are great for hints. They can also be nested.

::::collapsible{title="Hallo"}
 
This is a panel
 
:::collapsible{title="Nested"}
 
This is a stacked collapsible
 
:::
 
This is normal Test in-between.
 
:::collapsible{title="With an Image"}
 
![](/test.jpg)
 
::::

This is a panel

This is a stacked collapsible

This is normal Test in-between.

You can sync collapsibles by using the same id.

:::collapsible{title="Collapse 0" id="synced"}
 
This is a synced collapsible
 
:::
 
Synced
 
:::collapsible{title="Collapse 1" id="synced"}
 
In sync with above.
 
:::

This is a synced collapsible

Synced

In sync with above.

If you want to nest even further be sure to add more : to the outer levels.

Collapsible
✎ GitHub© Copyright 2024 by OpenPatch