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.
相关问题
- Access IPython's profile history (history.sqli
- Pandas and NumPy default width change on startup
- prevent overlapping bars using seaborn with pandas
- Issues with tk in ipython/jupyter
- Save iPython Jupyter Notebook Widgets to PNG/PDF/J
相关文章
- cython in jupyter notebook
- python: ignoring leading “>>>” and “…” in interact
- how to print source code of object I defined use
- IPython won't start
- Ipython kernel error after uninstalling anaconda
- Draw horizontal lines from x=0 to data points in m
- How can i force SHIFT+ENTER to run selection and e
- How to set the default background/text color schem
As it is written in the documentation you have to change the cell type to a markdown.
Adding to Matt's answer above (as I don't have comment privileges yet), one mouse-free workflow would be:
Esc
thenm
thenEnter
so that you gain focus again and can start typing.Without the last
Enter
you would still be in Escape mode and would otherwise have to use your mouse to activate text input in the cell.Another way would be to add a new cell, type out your markdown in "Code" mode and then change to markdown once you're done typing everything you need, thus obviating the need to refocus.
You can then move on to your next cells. :)
Change the cell type to Markdown in the menu bar, from
Code
toMarkdown
. Currently in Notebook4.x
, the keyboard shortcut for such an action is:Esc
(for command mode), thenm
(for markdown).Simply Enter Esc and type m it will convert to text cell.