You can insert text cells into your Plot notebook. Markdown syntax is supported for formatting.

Adding Spoilers

Create a collapsible component for toggling content

from lplots.widgets.text import w_text_output

w_text_output(content=f"""

### Section Title

<details>
<summary>Spoiler Title</summary>
Spoiler body text...
</details>

""")