Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: marimo export ipynb #1367

Merged
merged 11 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions tests/_cli/snapshots/ipynb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0e29fba8",
"id": "cd2168d6",
akshayka marked this conversation as resolved.
Show resolved Hide resolved
"metadata": {},
"outputs": [],
"source": [
"import marimo as mo"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d63167cc",
"cell_type": "markdown",
"id": "096c0c88",
"metadata": {},
"outputs": [],
"source": [
"slider = mo.ui.slider(0, 10)"
"a markdown cell"
]
},
{
"cell_type": "markdown",
"id": "9bd0e4b0",
"cell_type": "code",
"execution_count": null,
"id": "158c3bbb",
"metadata": {},
"outputs": [],
"source": [
"a markdown cell"
"slider = mo.ui.slider(0, 10)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6ebfd9cd",
"id": "b52b1b4a",
"metadata": {},
"outputs": [],
"source": [
Expand Down
4 changes: 2 additions & 2 deletions tests/_cli/snapshots/script.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ __generated_with = "0.0.0"
import marimo as mo

# %%
slider = mo.ui.slider(0, 10)
mo.md("a markdown cell")

# %%
mo.md("a markdown cell")
slider = mo.ui.slider(0, 10)

# %%
mo.md(f"parametrized markdown: {slider}")
Loading