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. 回答1: 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