-
Notifications
You must be signed in to change notification settings - Fork 219
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
Way to disable code execution in markdown editor. #7193
Comments
This seems reasonable, along with a clear switch at the top of the editor to turn code execution on and off, probably with the default being "off". I'm labeling this as "bug" due to "there needs to be some way to disable this". |
Actually, the way the UI works right now is not too bad:
Perhaps the only change needed is:
|
Please keep thinking about this! |
Suggestions (still incomplete)Here are some general suggestions as I work with code cells (probably should be migrated to a new issue once the execution pattern in established, but I am keeping there here for now.)
(For CoCalc Devs: I am playing here if you want some code.) Some relevant issues etc.: |
While the ability to execute code in a markdown file is awesome, there needs to be some way to disable this. I.e. in usecases like this:
Needless to say, someone should not be able to accidentally execute this cell with shift-enter... but I still want to be able to use code-fences to format code.
Not sure of the best option. Here are some alternatives:
This would break the case where people upload a markdown file and then want to execute cells, but they are all dead. The UI could easily fix this.
The text was updated successfully, but these errors were encountered: