Get help from the marimo community

Updated 3 months ago

Turn off "download as HTML" in app

At a glance

The community member is looking for a way to turn off the "Download as HTML" option when running a notebook as an app, as they would prefer their users not to have this ability. They mention that turning off all download options would also be acceptable. The community member suggests adding custom CSS as a workaround, but wonders if there is a configuration option available. In the comments, another community member suggests filing a ticket on GitHub to have this feature prioritized, and the original poster confirms they will do so and include the custom CSS they plan to use.

I couldn't find an answer to this in the docs, sorry if I missed it. Is there a way to turn off the "Download as HTML" option when you are running the notebook as an app?

I'd strongly prefer my users not be able to do that.

Turning off all the download options is OK too. I guess that I could add custom CSS that disables it. But if there's a configuration option, that would be nice.
Attachment
Screenshot_2024-11-20_at_11.19.29_AM.png
M
M
4 comments
Nothing at the moment - can you file a ticket on GitHub and we can try to prioritize that on our roadmap
Custom css would be workaround today
Will do. I'll write the css first and post it in the ticket.
Add a reply
Sign up and join the conversation on Discord