Shortcut key for changing code cell to markdown cell in jupyter notebook

Kind of silly but, is there a shortcut key to change a code cell to markdown cell. To place a markdown cell, I have to insert a cell, then go to the toolbar menu(below the main menu bar) and then select markdown instead of code.

Answers


Press M whilst in command mode (highlight around the selected cell should be blue, not green), use Esc to switch to command mode and Enter to switch back to edit mode.

So, if you're editing a cell, the key presses to change the cell to a markdown cell are Esc, M, Enter.

You can look up all the Jupyter notebook keyboard commands by pressing the keyboard icon in the toolbar. You can also edit your keyboard shortcuts by going to Help > Edit Keyboard Shortcuts


Need Your Help

What's the best library to do a URL hash/history in JQuery?

javascript jquery ajax fragment-identifier hashchange

I've been looking around JQuery libraries for the URL hash, but found none that were good. There is the "history plugin", but we all know it's buggy and isn't flexible.

getting exception "IllegalStateException: Can not perform this action after onSaveInstanceState"

android illegalstateexception

I have a Live Android application, and from market i have received following stack trace and i have no idea why its happening as its not happening in application code but its getting caused by some...