How to create a new line in jupyter shortcut

md $S$: a set of shops $I$: a set of items M wants to get

I want to make a new line between these two sentences. Usually we put "(space)" after the first sentence before a new line, but this does not work in Jupyter.

How can i do this? Should I put "enter" twice after the first sentence?

+7
markdown jupyter-notebook jupyter
source share
2 answers

Just add <br> where you want to create a new line.

 $S$: a set of shops <br> $I$: a set of items M wants to get 

Since the jupyter laptop shortcut cell is a superset of HTML.
http://jupyter-notebook.readthedocs.io/en/latest/examples/Notebook/Working%20With%20Markdown%20Cells.html

+19
source share

"We usually put" (space) "after the first sentence before a new line, but this does not work in Jupyter."

It inspired me to use two spaces instead of one - and it worked !!

(Of course, this functionality may have been introduced between when the question was asked in January 2017 and when my answer was published in March 2018.)

+1
source share

All Articles