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

marimo export ipynb should include outputs, cell order, and other metadata #2960

Closed
mscolnick opened this issue Nov 25, 2024 · 1 comment · Fixed by #3048, #3061 or #3093
Closed

marimo export ipynb should include outputs, cell order, and other metadata #2960

mscolnick opened this issue Nov 25, 2024 · 1 comment · Fixed by #3048, #3061 or #3093
Labels
enhancement New feature or request
Milestone

Comments

@mscolnick
Copy link
Contributor

Description

marimo export ipynb should support --include-outputs.

We should also include more metadata to be more easily integrated with tools that can leverage this.

Suggested solution

marimo export ipynb notebook.py -o notebook.ipynb --include-outputs

This will run marimo through once and include their HTML outputs. We may need to include an additional cell that contains css/js links that by default will be fetched from a cdn.

Alternative

No response

Additional context

No response

@mscolnick mscolnick added the enhancement New feature or request label Nov 25, 2024
@mscolnick mscolnick added this to the marimo 1.0.0 milestone Nov 25, 2024
@dmadisetti
Copy link
Collaborator

Responding to #2961 in this issue because it seems more relevant.


@akshayka @liquidcarbon .qmd is the runnable form, but Quarto can render to markdown with full outputs (the extension would just be .md), jupyter with outputs, and to PDF.

I do think that providing this export is reasonable, since someone is going to want to do it for whatever esoteric workflow they have.

This is also an opportunity to tag the outputs with a "generated in marimo" banner, for potential brand promotion/ indication that the exported notebook might not work out of the box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment