How to write text in ipython notebook?
问题 Here is an example of IPython notebook in which besides the input and output cells we have a plain text. How can I do the same in my IPython notebook? At the moment I have inly In and Out cells. 回答1: Change the cell type to Markdown in the menu bar, from Code to Markdown . Currently in Notebook 4.x , the keyboard shortcut for such an action is: Esc (for command mode), then m (for markdown). 回答2: As it is written in the documentation you have to change the cell type to a markdown. 回答3: Simply