Markdown:创建带有特定缩进的换行符的嵌套列表

Markdown: creating nested lists with line breaks with specific indentation

我正在尝试在 markdown 中获得以下输出

 - item1
   - subitem1
   - subitem2
   some more info about item 1
 - item 2

当我在subitem2末尾添加两个空格时,我可以引入一个换行符,但下一行开始有2级缩进,我只需要1级。 这是我试过的代码(星号是空格):

 - item1
   - subitem1
   - subitem2**
   some more info about item 1
 - item 2

这是我得到的输出:

 - item1
   - subitem1
   - subitem2**
     some more info about item 1
 - item 2

some

的缩进

您是否尝试在最后一个子项之后添加两个换行符?

  • item1

    • subitem1
    • subitem2

    关于项目 1 的更多信息

  • 项目 2

这是上面列表的代码:

 - item1
   - subitem1
   - subitem2

   some more info about item 1
 - item 2