IPython/Jupyter Notebook: How to render a markdown cell without reloading doc?
ipython, jupyter, jupyter-notebook
Solution
You just need to execute or run the cell which is in markdown format.
If you press Ctrl + Enter will execute and convert the raw text to markdown form.
Or you can press Shift + Enter which will execute the current cell and will move to the next one.
Problem
In IPython/Jupyter notebooks, is there a clear, concise summary of the 'rules' for when markdown is rendered into that nice, rich text format that's pleasant to look at? Here's what I've got so far: - When I create a new cell, then switch it to 'Markdown' it stays in 'raw markdown mode' (meaning: I can see the raw markdown. There's some nice, syntax-based color-coding and font-sizing, but it's clearly raw markdown) - If I save the notebook, close it (i.e., close the browser's page) and then re-open the notebook I see the nice, rich-text version of the markdown (i.e., "#Topic 1" is rendered as H1 by the browser, and the browser hides the "#" at the start - it's clearly NOT the 'raw markdown' - If I click on the markdown cell it remains in 'nice mode' - If I press the 'Enter' key I enter Jupyter's edit mode, it replaces the 'nice mode' view with the 'raw markdown mode' view, and I can edit the markdown. What I'd love to know is: How do I get Jupyter to render that 'raw markdown mode' cell again? (Without closing and re-opening the notebook) (Alternately -is this the expected behavior? You get the nice view when you first load it, and you're stuck with the 'raw markdown' view for any cell you edit until you reload it?)