Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit 8d19d76

Browse files
Jinjiangveaba
andauthored
Review doc-style-guide.md #329 (#575)
* Update doc-style-guide.md * Apply suggestions from code review Co-authored-by: Godpu <godpu@outlook.com>
1 parent 725c2dc commit 8d19d76

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/guide/contributing/doc-style-guide.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,54 @@
44

55
## 警告
66

7-
VuePress 提供了一个自定义容器插件来创建警稿框。有四种类型:
7+
VuePress 提供了一个自定义容器插件来创建警告框。有四种类型:
88

99
- **Info**:提供中立的信息
1010
- **Tip**:提供积极和鼓励的信息
11-
- **Warning**提供用户应该知道的信息,因为存在低到中等
12-
- **Danger**供对用户具有高风险的负面信息
11+
- **Warning**提供用户应该知道的从低级到中级的信息
12+
- **Danger**提供对用户具有高风险的负面信息
1313

1414
**Markdown 范例**
1515

1616
```
1717
::: info
18-
You can find more information at this site.
18+
你可以在该网站找到更多信息。
1919
:::
2020
2121
::: tip
22-
This is a great tip to remember!
22+
这是一个值得记住的好建议!
2323
:::
2424
2525
::: warning
26-
This is something to be cautious of.
26+
这是一些值得注意的东西。
2727
:::
2828
2929
::: danger DANGER
30-
This is something we do not recommend. Use at your own risk.
30+
这是一些我们不推荐的事情。您在使用的时候需要承担相应的风险。
3131
:::
3232
```
3333

3434
**渲染 Markdown**
3535

36-
:::info
37-
You can find more information at this site
36+
::: info
37+
你可以在该网站找到更多信息
3838
:::
3939

40-
:::tip
41-
This is a great tip to remember
40+
::: tip
41+
这是一个值得记住的好建议
4242
:::
4343

44-
:::warning
45-
This is something to be cautious of
44+
::: warning
45+
这是一些值得注意的东西
4646
:::
4747

48-
:::danger DANGER
49-
This is something we do not recommend。Use at your own risk
48+
::: danger DANGER
49+
这是一些我们不推荐的事情。您在使用的时候需要承担相应的风险
5050
:::
5151

5252
## 代码块
5353

54-
VuePress 使用 Prism 提供语言语法高亮显示,方法是将语言附加到代码块的起始反撇号
54+
VuePress 使用 Prism 提供语法高亮显示,方法是将语言名称附加到代码块起始的反斜杠后面
5555

5656
**Markdown 示例**
5757

@@ -103,7 +103,7 @@ export default {
103103
}
104104
```
105105

106-
#### 行组
106+
#### 多行区间
107107

108108
````
109109
```js{4-5}

0 commit comments

Comments
 (0)