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.

add a bit more info about outputs to docs (#1184)

Akshay Agrawal1a739c29101f
diff --git a/docs/api/media/index.md b/docs/api/media/index.md
index 70eb3b6707..c5dda56c39 100644
--- a/docs/api/media/index.md
+++ b/docs/api/media/index.md
@@ -26,3 +26,6 @@ Use these functions to embed media in your outputs.
marimo.download
marimo.plain_text
```
+
+Most of these methods accept URLs (including data URLs), paths to local
+files, or file-like objects.
diff --git a/docs/guides/outputs.md b/docs/guides/outputs.md
index b5f2e84afd..a31f66fd37 100644
--- a/docs/guides/outputs.md
+++ b/docs/guides/outputs.md
@@ -61,3 +61,17 @@ mo.md(
"""
)
```
+
+
+## Layout
+
+The marimo library also comes with elements for laying out outputs, including
+[`mo.hstack`](#marimo.hstack), [`mo.vstack`](#marimo.vstack),
+[`mo.accordion`](#marimo.accordion), [`mo.ui.tabs`](#marimo.ui.tabs),
+[`mo.ui.table`](#marimo.ui.table), and [many
+more](https://docs.marimo.io/api/layouts/index.html).
+
+## Media
+
+marimo comes with functions to display media, including images, audio,
+video, pdfs, and more. See the [API docs](/api/media/index.md) for more info.
diff --git a/docs/guides/overview.md b/docs/guides/overview.md
index c01dab8d8a..7a678600a1 100644
--- a/docs/guides/overview.md
+++ b/docs/guides/overview.md
@@ -138,7 +138,11 @@ collections of elements.
</figure>
</div>
+
## Layout
-The marimo library also comes with layout elements, including `mo.hstack`,
-`mo.vstack`, and `mo.ui.tabs`. See the [API reference](https://docs.marimo.io/api/layouts/index.html) for more info.
+The marimo library also comes with elements for laying out outputs, including
+[`mo.hstack`](#marimo.hstack), [`mo.vstack`](#marimo.vstack),
+[`mo.accordion`](#marimo.accordion), [`mo.ui.tabs`](#marimo.ui.tabs),
+[`mo.ui.table`](#marimo.ui.table), and [many
+more](https://docs.marimo.io/api/layouts/index.html).