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: ipynb snapshots working with expensive notebooks (#5307)

Akshay Agrawaldae55fd52056
diff --git a/docs/guides/expensive_notebooks.md b/docs/guides/expensive_notebooks.md
index 7fb2dfe74e..39b030e2bd 100644
--- a/docs/guides/expensive_notebooks.md
+++ b/docs/guides/expensive_notebooks.md
@@ -62,6 +62,16 @@ helpful when you want to edit one part of a notebook without triggering
execution of other parts. See the
[reactivity guide](../guides/reactivity.md#disabling-cells) for more info.
+## Automatic snapshotting as HTML or ipynb
+
+To keep a record of your cell outputs while working on your
+notebook, you can configure notebooks to automatically save as HTML or ipynb
+through the notebook menu (these files are saved in addition to the
+notebook's `.py` file). Snapshots are saved to a folder called
+`__marimo__` in the notebook directory.
+
+Learn more about exporting notebooks in our [exporting guide](../guides/exporting.md).
+
## Caching
marimo provides two caching utilities to help you manage expensive computations: