降价:继续编号清单 [英] Markdown: continue numbered list
本文介绍了降价:继续编号清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在下面的降价代码中,我希望item 3
以列表号3开头.但是由于降价之间的代码块,此列表项将作为新列表启动.有什么办法可以防止这种行为?
In the following markdown code I want item 3
to start with list number 3. But because of the code block in between markdown starts this list item as a new list. Is there any way to prevent that behaviour?
所需的输出:
1. item 1
2. item 2
```
Code block
```
3. item 3
产生的输出:
- 项目1
- 项目2
Code block
Code block
- 项目3
推荐答案
使用四个空格在要点之间缩进内容
Use four spaces to indent content between bullet points
1. item 1
2. item 2
```
Code block
```
3. item 3
产生:
- 项目1
-
项目2
- item 1
item 2
Code block
Code block
这篇关于降价:继续编号清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文