@@ -110,9 +110,7 @@ Markdown doesn't have strict rules about how to process lists. When we moved
110
110
from Jekyll to Hugo, we broke some lists. To fix them, keep the following in
111
111
mind:
112
112
113
- - Make sure you indent sub-list items **4 spaces** rather than the 2 that you
114
- may be used to. Counter-intuitively, you need to indent block-level content
115
- within a list item an extra 4 spaces too.
113
+ - Make sure you indent sub-list items **2 spaces**.
116
114
117
115
- To end a list and start another, you need a HTML comment block on a new line
118
116
between the lists, flush with the left-hand border. The first list won't end
@@ -121,8 +119,7 @@ mind:
121
119
Markdown 在如何处理列表方面没有严格的规则。在我们从 Jekyll 迁移到 Hugo 时,
122
120
我们遇到了一些问题。为了处理这些问题,请注意以下几点:
123
121
124
- - 确保你将子列表的条目缩进** 四个空格** 而不是你可能熟悉的两个空格。
125
- 有一点是不那么直观的,你需要将列表中的块级别内容多缩进四个空格。
122
+ - 确保你将子列表的条目缩进** 两个空格**
126
123
127
124
- 要结束一个列表并开始一个新的列表,你需要在两个列表之间添加加一个 HTML 注释块,
128
125
并将其置于独立的一行,左边顶边对齐。否则前一个列表不会结束,无论你在它与
@@ -134,18 +131,16 @@ Markdown 在如何处理列表方面没有严格的规则。在我们从 Jekyll
134
131
- This is a list item
135
132
* This is another list item in the same list
136
133
- You can mix `-` and `*`
137
- - To make a sub-item, indent two tabstops (4 spaces). **This is different
138
- from Jekyll and Kramdown.**
139
- - This is a sub-sub-item. Indent two more tabstops (4 more spaces).
134
+ - To make a sub-item, indent two spaces.
135
+ - This is a sub-sub-item. Indent two more spaces.
140
136
- Another sub-item.
141
137
-->
142
138
### 项目符号列表
143
139
144
140
- 此为列表条目
145
141
* 此为另一列表条目,位于同一列表中
146
142
- 你可以将 ` - ` 和 ` * ` 混合使用
147
- - 要开始子列表,缩进两个 TAB (四个空格)。** Jekyll 和 Markdown
148
- 在这点上有所不同** 。
143
+ - 要开始子列表,缩进两个空格。
149
144
- 这是另一个子子条目。进一步多缩进两个空格。
150
145
- 另一个子条目
151
146
0 commit comments