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 MDX snippet (#3872)

Akshay Agrawal15a340d8f3a2
diff --git a/docs/guides/publishing/playground.md b/docs/guides/publishing/playground.md
index 44e5806f45..71040b8ea2 100644
--- a/docs/guides/publishing/playground.md
+++ b/docs/guides/publishing/playground.md
@@ -257,8 +257,11 @@ const MdxNotebook = (props: { code: string }) => {
<MdxNotebook code={`
import marimo as mo
+app = marimo.App()
+
@app.cell
def _():
+ import marimo as mo
mo.md("Hello, world!")
return