Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 614
BhishanPoudel Avatar asked Jun 14 '17 16:06

BhishanPoudel


People also ask

How do you edit markdown cells in Jupyter notebook?

You can change the cell type of any cell in Jupyter Notebook using the Toolbar. The default cell type is Code. To use the Keyboard Shortcuts, hit the esc key. After that, you can change a cell to Markdown by hitting the m key, or you can change a cell to Code by hitting the y key.

How do I enable edit mode in Jupyter notebook?

Jupyter notebooks have two different modes, EDIT and COMMAND . Edit mode: To enter the EDIT mode, press ENTER on your keyboard or click in a cell. Edit mode can be identified by green border around the cell with green left margin.

How do you edit a Jupyter cell?

Edit mode. When a cell is in edit mode, you can type into the cell, like a normal text editor. Enter edit mode by pressing Enter or using the mouse to click on a cell's editor area.


1 Answers

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.

like image 123
BhishanPoudel Avatar answered Oct 13 '22 01:10

BhishanPoudel