【发布时间】:2012-05-03 12:17:47
【问题描述】:
我发现我无法在编号列表中获取代码块。
例如,当我通过缩进四个空格来添加代码块时,通常如下所示:
1. Do the first thing
$ git stuff
$ git other stuff
2. second thing:
$ git more stuff
结果如下,$ git 行是普通文本,没有格式化为代码:
做第一件事
$ git 的东西 $ git 其他东西
第二件事:
$ git 更多的东西
我可以使用反引号来做到这一点,即
1. Do the first things
`$ git stuff`
`$ git other stuff`
2. second thing:
`$ git more stuff`
但如果可以的话,我想“正常”地做积木(4 个空格缩进)。
【问题讨论】: