Get help from the marimo community

Updated last month

Showing code without the need for user toggle when `marimo run --include-code` is set?

At a glance
I am running a notebook as an app and I want to show the code automatically when someone is using the app. I can set the --include-code option, but the code is still hidden by default. To see the code, the user needs to hit the "show code" toggle in the upper right to see the code. Am I missing an option somewhere?
m
2 comments
use the ?show-code=true query parameter when using marimo run
note, this query parameter is not supported with WASM notebooks. For those you need to use --show-code at build time. see docs
Add a reply
Sign up and join the conversation on Discord