open book.json, add collapse in "plugins"
{ "plugins": [ "other-plugin", "collapse" ] }
wrap the content you want to collapse with:
{% collapse %}
* list 1
* list 2
* list 3
* list 3.1
{% endcollapse %}
you can specify a title with
{% collapse title="my list" %}
* list 1
* list 2
* list 3
* list 3.1
{% endcollapse %}
specify no process in the block
{% collapse title="my list", process=false %}
<h1>hello</h1>
{% endcollapse %}
- hide collapses in pdf, ebook etc