5

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?

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I want to be able to have markdown and python in the same cell, so I can talk about multiple results in the same cell. Sorry if that was not clear.
Could you provide an example about how this should look like?
2

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.