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: call out package support among wasm limitations (#5439)

Akshay Agrawal180127a1be16
diff --git a/docs/guides/apps.md b/docs/guides/apps.md
index 9c559b797e..0ce22635a3 100644
--- a/docs/guides/apps.md
+++ b/docs/guides/apps.md
@@ -62,7 +62,7 @@ can reconstruct your layout.
If you prefer a slideshow-like experience, you can use the slides layout. Enable the slides layout in the app preview, via the same dropdown as above.
!!! info "See slides layout in action"
- Check out this [example notebook](https://marimo.io/p/@gvarnavides/stem-probes) that runs in slides mode, powered by our [Community Cloud](./publishing/community_cloud/).
+ Check out this [example notebook](https://marimo.io/p/@gvarnavides/stem-probes) that runs in slides mode, powered by our [Community Cloud](publishing/community_cloud/index.md).
Unlike the grid layout, the slides are much less customizable:
diff --git a/docs/guides/exporting.md b/docs/guides/exporting.md
index 3234bd2c99..ff050c7913 100644
--- a/docs/guides/exporting.md
+++ b/docs/guides/exporting.md
@@ -168,7 +168,7 @@ You can also use other tools that work with Jupyter notebooks:
## Export to WASM-powered HTML
-Export your notebook to a self-contained HTML file that runs using WebAssembly:
+Export your notebook to a self-contained HTML file that runs using [WebAssembly](wasm.md):
```bash
# export as readonly, with code locked
@@ -187,6 +187,9 @@ Options:
- `--watch/--no-watch`: Watch the notebook for changes and automatically export
- `--include-cloudflare`: Write configuration files necessary for deploying to Cloudflare
+Note that WebAssembly notebooks have [limitations](wasm.md#limitations); in particular,
+[many but not all packages work](wasm.md#packages).
+
!!! note "Note"
The exported file must be served over HTTP to function correctly - it
diff --git a/docs/guides/wasm.md b/docs/guides/wasm.md
index 3fbeb0dffd..c131badb0c 100644
--- a/docs/guides/wasm.md
+++ b/docs/guides/wasm.md
@@ -138,6 +138,15 @@ amount of data, and also lets you sync notebooks (and their data) from GitHub.
While WASM notebooks let you share marimo notebooks seamlessly, they have some
limitations.
+**Packages.** Many but not all packages are supported. All packages with pure
+Python wheels on PyPI are supported, as well as additional packages like NumPy,
+SciPy, scikit-learn, duckdb, polars, and more. For a full list of supported
+packages, see [Pyodide's documentation on supported
+packages.](https://pyodide.org/en/stable/usage/packages-in-pyodide.html)
+
+If you want a package to be supported, consider [filing an
+issue](https://github.com/pyodide/pyodide/issues/new?assignees=&labels=new+package+request&projects=&template=package_request.md&title=).
+
**PDB.** PDB is not currently supported.
**Threading and multi-processing.** WASM notebooks do not support multithreading