Skip to content

Commit 3d57e61

Browse files
authored
Merge pull request #35682 from yanrongshi/zh-cn]sync-test.md
[zh-cn]Update test.md
2 parents 7ae7650 + 0db4ba6 commit 3d57e61

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

content/zh-cn/docs/test.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ Markdown doesn't have strict rules about how to process lists. When we moved
110110
from Jekyll to Hugo, we broke some lists. To fix them, keep the following in
111111
mind:
112112
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**.
116114
117115
- To end a list and start another, you need a HTML comment block on a new line
118116
between the lists, flush with the left-hand border. The first list won't end
@@ -121,8 +119,7 @@ mind:
121119
Markdown 在如何处理列表方面没有严格的规则。在我们从 Jekyll 迁移到 Hugo 时,
122120
我们遇到了一些问题。为了处理这些问题,请注意以下几点:
123121

124-
- 确保你将子列表的条目缩进**四个空格**而不是你可能熟悉的两个空格。
125-
有一点是不那么直观的,你需要将列表中的块级别内容多缩进四个空格。
122+
- 确保你将子列表的条目缩进**两个空格**
126123

127124
- 要结束一个列表并开始一个新的列表,你需要在两个列表之间添加加一个 HTML 注释块,
128125
并将其置于独立的一行,左边顶边对齐。否则前一个列表不会结束,无论你在它与
@@ -134,18 +131,16 @@ Markdown 在如何处理列表方面没有严格的规则。在我们从 Jekyll
134131
- This is a list item
135132
* This is another list item in the same list
136133
- 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.
140136
- Another sub-item.
141137
-->
142138
### 项目符号列表
143139

144140
- 此为列表条目
145141
* 此为另一列表条目,位于同一列表中
146142
- 你可以将 `-``*` 混合使用
147-
- 要开始子列表,缩进两个 TAB (四个空格)。**Jekyll 和 Markdown
148-
在这点上有所不同**
143+
- 要开始子列表,缩进两个空格。
149144
- 这是另一个子子条目。进一步多缩进两个空格。
150145
- 另一个子条目
151146

0 commit comments

Comments
 (0)