BhishanPoudel
BhishanPoudel

Reputation: 17144

How to edit markdown cell in jupyter-notebook ( Could not edit markdown cell in Jupyter notebook)

I got a strange problem with jupyter-notebook.
I was practicing with notebook which has markdown and code cells.

When I save and reopen the notebook, I can edit code cells but not the markdown cells.

Attempts:

  1. reload the page.
  2. Make the notebook trusted.
  3. Try to change the cell type from markdown to code or raw but still can not edit.

NOTE: I can delete some letters on markdown but I can not add any letters. Also if I hit enter it will create new lines, but I can not write anything there.

Question How can we edit the markdown cell of a jupyter-notebook ?

Upvotes: 17

Views: 26993

Answers (2)

Avinav Mishra
Avinav Mishra

Reputation: 758

Just double click on the markdown cell. Edit what you want to and Run. It will reflect the changes. Save your notebook.

Upvotes: 12

BhishanPoudel
BhishanPoudel

Reputation: 17144

In case anybody also encountered the same problem, I am keeping this question and my solution to it, instead of deleting the question.

What I did is :
a) First go to markdown cell.
b) Double click the cell, now we can only delete the letters, can not edit it.
c) Go to command mode (press esc) and again come back to edit mode (Enter).
d) Now we can edit the markdown cell.

This solved my problem.

Upvotes: 14

Related Questions