Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

docs: fix broken text_area preview (#3347)

Srihari Thyagarajana63cd2929ef3
diff --git a/docs/api/inputs/text_area.md b/docs/api/inputs/text_area.md
index e02c8ee0fe..529b8c4499 100644
--- a/docs/api/inputs/text_area.md
+++ b/docs/api/inputs/text_area.md
@@ -1,20 +1,7 @@
# Text Area
-/// marimo-embed
-
-```python
-def __():
- text_area = mo.ui.text_area(placeholder="Search...", label="Description")
- return
-
-def __():
- mo.hstack([text_area, mo.md(f"Has value: {text_area.value}")])
- return///
-
-```
-
+/// marimo-embed-file
+ filepath: examples/ui/text_area.py
///
::: marimo.ui.text_area
diff --git a/examples/ui/text_area.py b/examples/ui/text_area.py
index 8c5b432f52..2b15536115 100644
--- a/examples/ui/text_area.py
+++ b/examples/ui/text_area.py
@@ -1,6 +1,6 @@
import marimo
-__generated_with = "0.10.6"
+__generated_with = "0.10.9"
app = marimo.App()