how to make a new line in a jupyter markdown cell

后端 未结 3 1142
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 12:27

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

I\'d like to make a new line between this two sentences. We usually put \" (space)\" after the fi

3条回答
  •  爱一瞬间的悲伤
    2021-02-01 12:59

    Just add
    where you would like to make the new line.

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

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

    Note that newlines using
    does not persist when exporting or saving the notebook to a pdf (using "Download as > PDF via LaTeX"). It is probably treating each
    as a space.

提交回复
热议问题