Plots
Text Display
Learn how to add description text to your layout.
Text cells can be added to a layout and then edited in the right sidebar. Markdown formatting is supported.
Adding Spoilers
Create a collapsible component for toggling content
![](https://mintlify.s3-us-west-1.amazonaws.com/latchbio/images/plots/markdown-spoiler.png)
from lplots.widgets.text import w_text_output
w_text_output(content=f"""
### Section Title
<details>
<summary>Spoiler Title</summary>
Spoiler body text...
</details>
""")
Was this page helpful?