Markdown:在嵌套列表之后继续列表中的文本

Markdown: continue text in list after a nested list

我需要在列表中插入一个子列表,然后在项目中继续文本:

1. Start of the item text
    - First item of sublist;
    - Second item of sublist;

More text of the first item.

2. Second Item

3. Third item

渲染后嵌套列表后的文本未正确对齐(应与“开始”对齐,与“1.”对齐)。有什么建议吗?

文本应与数字后的文本左对齐,然后呈现的文本将与其对齐。

这是你的例子:

1. Start of the item text
    - First item of sublist;
    - Second item of sublist;
      
      More text of the sublist of the first item.
The pending text of "More text of the sublist of the first item."

  More text of the first item.
The pending text of "More text of the first item."

2. Second Item

3. Third item

第一行文本有两个字符:1 . 和一个 space 在文本内容之前 Start of...

那么你要对齐的文字在文字前还应该有3spaces More text of...

的内容

另外,有<=N spaces(N表示列表上下文的前缀文本的长度,本例中N=3)文本内容将使内容与此列表文本对齐

例如 具有 1 ~ 3 spaces 将使文本与第一行文本对齐,具有 4 ~ 6 spaces 将使文本与第二行文本对齐,