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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Publishing with MDX
MDX combines Markdown with components for web frameworks.
marimo's mdx-marimo package
renders marimo code fences as connected, reactive cells inside MDX pages. Use
it to place Python, SQL, and Markdown cells among a site's prose and components.
Write a Python cell by adding marimo after the fence language:
```python marimo
import marimo as mo
mo.md("hello")
```
Export an existing marimo notebook to MDX source:
marimo export md notebook.py -o notebook.mdx --flavor mdx
Add remarkMarimo to the host's MDX compiler, then load the package stylesheet
and browser runtime. For installation, framework setup, and supported cell
options, see the mdx-marimo docs.