IPython / Jupyter Notebook: how to visualize markdown cells without reloading a document?

IPython / Jupyter notebooks have a clear and concise overview of the โ€œrulesโ€ when markdown is displayed in this beautiful, rich text format that is nice to look at?

Here is what I have so far:

  • When I create a new cell, then switch it to "Markdown", it remains in the "raw mark" mode (which means: I can see the raw markdown. There is a beautiful, syntactic color coding and font size, but this is clearly a raw markdown)
  • If I save the laptop, close it (i.e. close the browser page), and then open the laptop again. I see a beautiful, rich text version of markdowns (ie "#Topic 1" is displayed as H1 by the browser, and the browser hides "#" at the beginning - this is clearly NOT a "raw markdown"
  • If I click on the markdown cell, it remains in โ€œgood modeโ€
  • If I press the 'Enter' key, I enter the Jupyter editing mode, it replaces the nice mode with the raw markdown mode, and I can edit the markdown.

What I would like to know: How can I get Jupyter to display this "raw markdown mode" cell again? (without closing and reopening the laptop)

(Alternatively, is this the expected behavior? Do you get a beautiful view when you first load it, and you get stuck in the raw mark view for any cell that you are editing until you reload it?)

+7
ipython jupyter-notebook jupyter
source share
1 answer

You just need to run or run a cell that is in markdown format.

If you press Ctrl + Enter , execute and convert the raw text into a markdown form.

Or you can press Shift + Enter , which will execute the current cell and move to the next.

+5
source share

All Articles