Multi-line bullet list in markdown

HtmlMarkdown

Html Problem Overview


Does markdown supports multi-line (line-break inside the item) bullet list? In HTML, I can put <br> inside it.

  • Item 1
    blah blah blah
  • Item 2
    blah blah blah

UPDATED in Jan 2020

Thank you for your contribution. Two trailing spaces work in the Jupyter environment.

Html Solutions


Solution 1 - Html

Two spaces at the end of line are used to insert a line-break.

Example (replace the two dots with two spaces!):

* Item.. 
some indented text

This will render as:

  • Item
    some indented text

Solution 2 - Html

A more markdown-friendly alternative (to accepted answer) is to add 2 trailing spaces to the first line.

Solution 3 - Html

Alternative to double trailing space you can add a trailing backslash.

* Item 1\
blah blah blah
* Item 2\
blah blah blah

rendered to

* Item 1
  blah blah blah
* Item 2
  blah blah blah

Solution 4 - Html

Oh I just checked <br> also works in markdown too...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSUNDONGView Question on Stackoverflow
Solution 1 - HtmlAndrej DebenjakView Answer on Stackoverflow
Solution 2 - HtmlAlexander TsepkovView Answer on Stackoverflow
Solution 3 - HtmlKotodidView Answer on Stackoverflow
Solution 4 - HtmlSUNDONGView Answer on Stackoverflow