Reputation: 5133
I want to be able to show the result of a python computation and have some explanation of it in Markdown. This seems like a fairly simple operation, but I can't figure out how to do it. Is there any way to do this without installing any extensions to Jupyter?
Upvotes: 5
Views: 2099
Reputation: 9964
Would it suffice if you yourself didn't have to personally handle the installations to Jupyter?
I know OP says specifically, without installing an extension, but what is described is addressed with the Python-Markdown
extension, see here. And this question comes up at the top of the list when one Googles "jupyter mix markdown and python print cell".
You can easily use Python-Markdown in an active notebook launched via the MyBinder system from here; the repo for that is here if you want to fork it and further adapt it by adding your own notebooks.
Upvotes: 2
Reputation: 2322
In the toolbar (see image here http://jupyter-notebook.readthedocs.io/en/latest/_images/jupyter-notebook-default.png), you can set the cell as Markdown in the drop down menu for explanatory text.
Upvotes: 2