简体   繁体   中英

Multi-line bullet list in markdown

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.

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

一个对降价更友好的替代方案(接受的答案)是在第一行添加 2 个尾随空格。

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

哦,我刚刚检查了<br>也适用于降价...

You may check out this .

    * unordered list
    + sub-item 1 
    + sub-item 2 
        - sub-sub-item 1
        
* unordered list
    + sub-item 1 
    + sub-item 2 
        - sub-sub-item 1   

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM