jupyter / jupyter/notebook

none-editable markdown cell can be 'unrendered'

Open
#2,389 5 comments 0 reactions 0 assignees View on GitHub
status:Needs Discussion
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

When setting a markdown cell's metadata to 'editable:false', clicking in the cell 'unrenders' the html to markdown. Re-rendering needs to be done by executing the cell. On the one hand, intuitively, an uneditable markdown cell should not have this behaviour. On the other hand, being able to copy the markdown content may be desirable.

Is the current behaviour intentional or a bug? If intentional, would it be possible to have a metadata setting disabling seeing markdown for an uneditable markdown cell?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior with a markdown cell whose metadata sets editable:false, then click the cell and observe whether it un renders to markdown. Review the existing discussion about intentional behavior and determine whether the desired outcome is preserving the rendered HTML or adding a metadata setting to prevent showing markdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.