How to write text in jupyter / 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.
Solution 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).
Solution 2:
As it is written in the documentation you have to change the cell type to a markdown.
Solution 3:
Simply Enter Esc and type m it will convert to text cell.