Skip to content

Show Python code in app mode #792

Answered by akshayka
superlopuh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, great question. You can use --include-code at the CLI:

marimo run my_notebook.py --include-code

Then, when the notebook opens, click the "show code" button in the top right to reveal the code. If it helps, we can consider making code shown by default when --include-code is passed.

Example:

After clicking the button:

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@superlopuh
Comment options

@akshayka
Comment options

@superlopuh
Comment options

Answer selected by superlopuh
Comment options

You must be logged in to vote
1 reply
@mscolnick
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants