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.

update kitchen sink

Myles Scolnick72ae36c19914
diff --git a/frontend/e2e-tests/py/kitchen_sink.py b/frontend/e2e-tests/py/kitchen_sink.py
index 063c7efcbd..47a6a0190f 100644
--- a/frontend/e2e-tests/py/kitchen_sink.py
+++ b/frontend/e2e-tests/py/kitchen_sink.py
@@ -1,22 +1,9 @@
import marimo
-__generated_with = "0.1.60"
+__generated_with = "0.1.61"
app = marimo.App()
-def __(mo):
- # markdown
- markdown = mo.md(
- f"""
- # Hello world!
-
- `marimo` _supports_ **markdown**
- """
- )
- return markdown,
-
-
@app.cell
def __(np, plt):
# Generate some random data
@@ -217,14 +204,57 @@ def __(callout, callout_kind, create_wrapper, mo):
@app.cell
-def __(create_wrapper, markdown):
+def __(create_wrapper, mo):
create_wrapper(
- markdown,
+ mo.md(
+ f"""
+ # Hello world!
+ ## **Hello world!**
+ ## *Hello world!*
+ ## **_Hello world!_**
+
+ `marimo` _supports_ **markdown**
+
+ > And Blockquotes
+
+ ```python
+ # And code
+ import marimo as mo
+ import numpy as np
+ ```
+
+ - And
+ - Lists
+
+ 1. And
+ 2. Ordered
+ 3. Lists
+
+ [And](https://www.youtube.com/watch?v=dQw4w9WgXcQ) Links
+ """
+ ),
"markdown",
)
return
+def __(create_wrapper, mo):
+ create_wrapper(
+ mo.md(
+ r"""
+ The exponential function $f(x) = e^x$ can be represented as
+
+ \[
+ f(x) = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \ldots.
+ \]
+ """
+ ),
+ "latex",
+ )
+ return
+
+
@app.cell
def __(create_wrapper, file):
create_wrapper(