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: small fixes (#3222)

Akshay Agrawal85e26e86b4a1
diff --git a/docs/guides/wasm.md b/docs/guides/wasm.md
index 277fdd4e04..61a2a812c2 100644
--- a/docs/guides/wasm.md
+++ b/docs/guides/wasm.md
@@ -91,12 +91,14 @@ In one cell, import micropip:
```python
import micropip
+```
In the next one, install packages:
```python
await micropip.install("plotly")
import plotly
+```
**Try it!** A WASM notebook is embedded below. Try installing a package.
diff --git a/docs/guides/working_with_data/dataframes.md b/docs/guides/working_with_data/dataframes.md
index 6b93b2ce8d..b4fa38dc60 100644
--- a/docs/guides/working_with_data/dataframes.md
+++ b/docs/guides/working_with_data/dataframes.md
@@ -142,8 +142,6 @@ transformed_df.value
Create custom filters with marimo UI elements, like sliders and dropdowns.
-///
-
/// tab | pandas
```python
@@ -207,8 +205,6 @@ dataframe_.
</figure>
</div>
-///
-
/// tab | pandas
```python
diff --git a/docs/recipes.md b/docs/recipes.md
index 0c61be8362..1377af2b6d 100644
--- a/docs/recipes.md
+++ b/docs/recipes.md
@@ -40,7 +40,7 @@ condition = True
import marimo as mo
```
-1. Create a [`mo.ui.refresh`][marimo.ui.refresh] timer that fires once a second:
+2. Create a [`mo.ui.refresh`][marimo.ui.refresh] timer that fires once a second:
```python
refresh = mo.ui.refresh(default_interval="1s")
@@ -156,7 +156,7 @@ by name (in this case, "`l`") will run automatically.
import marimo as mo
```
-1. Use [`mo.ui.array`][marimo.ui.array] to group together
+2. Use [`mo.ui.array`][marimo.ui.array] to group together
many UI elements into a list.
```python
@@ -219,6 +219,7 @@ import marimo as mo
```
2. Group the elements with
+
[`mo.ui.dictionary`][marimo.ui.dictionary] or
[`mo.ui.array`][marimo.ui.array], then retrieve them from the container
and display them elsewhere.
@@ -369,9 +370,8 @@ of the form sends all its elements to Python.
import marimo as mo
```
-1. Use [`mo.ui.form`][marimo.ui.form] and
-[`Html.batch`][marimo.Html.batch] to create a form with
-multiple elements.
+2. Use [`mo.ui.form`][marimo.ui.form] and [`Html.batch`][marimo.Html.batch] to
+ create a form with multiple elements.
```python
form = mo.md(
diff --git a/mkdocs.yml b/mkdocs.yml
index 47308d81dd..15b04a62b4 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -31,6 +31,7 @@ markdown_extensions:
- footnotes
- md_in_html
- meta
+ - sane_lists # lists separated by paragraphs
- toc:
permalink: true
- pymdownx.arithmatex: