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

is it possible to disable or hide the "Edit or run this notebook" link? #154

Closed
adannenberg opened this issue Dec 11, 2024 · 3 comments
Closed

Comments

@adannenberg
Copy link

I'd like to share a Pluto notebook using PlutoSliderServer with a prospective client to demonstrate functionality, so I'd like to be able to somehow make the underlying code unavailable. The easiest way would be to disable the "Edit or run this notebook" link if that's possible and within the licensing terms. Is this both allowed and possible?

@fonsp
Copy link
Member

fonsp commented Dec 13, 2024

Hey! It's allowed, but there is currently no setting to disable the button.

You can add an html""" cell to your notebook with a CSS style that makes the button invisible :)

@adannenberg
Copy link
Author

adannenberg commented Dec 13, 2024

that was a slick and minimally invasive approach :D. thank you. it worked like a charm running PlutoSliderServer locally. now it's on to figuring out how to actually host the webpage so it can be served to others. let's see if i can follow your recipe.

@fonsp
Copy link
Member

fonsp commented Dec 16, 2024

Thanks, nice to hear @adannenberg !

The recipe on the readme could really use your feedback! Did you already follow it, how did it go?

If you are still planning to follow the recipe, perhaps you could save a copy of the README.md and edit it on your computer with questions, comments, steps we forgot, etc. Then later we can compare! Also feel free to reach out in a new issue is something is unclear.

@fonsp fonsp closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants