How to write text in ipython notebook?

Roman picture Roman · Jul 23, 2013 · Viewed 104.3k times · Source

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.

Answer

Matt picture Matt · Jul 23, 2013

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).