from babregen.review.page import details
print(details("The bundle", "<pre>text</pre>"))<details><summary>The bundle</summary><pre>text</pre></details>
A <details> element for long material.
| Name | Type | Description | Default |
|---|---|---|---|
| summary | str | The visible line, plain text. | required |
| body_html | str | The content, HTML. | required |
| opened | bool | Whether it starts open. | False |
| Name | Type | Description |
|---|---|---|
| str | str | The HTML. |