Skip to content

Commit 702b359

Browse files
authored
docs: fix a few annotations (#247)
1 parent 2a1980a commit 702b359

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

builtin/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ hideInToc: true
282282
- `conversation` (`string`, 默认为: `'none'`): [推文内嵌参数](https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference)
283283
- `cards` (`'hidden' | 'visible'`, 默认为: `'visible'`): [推文内嵌参数](https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference)
284284

285-
## `VAfter`, `VClick` and `VClicks`
285+
## `VAfter`, `VClick` 以及 `VClicks`
286286

287287
<LinkCard link="guide/animations#click-animation" />
288288

builtin/layouts.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
---
3939
layout: image-left
4040

41-
# the image source
41+
# 图片来源
4242
image: /path/to/the/image
4343

44-
# a custom class name to the content
44+
# 内容的自定义 class 名称
4545
class: my-cool-content-on-the-right
4646
---
4747
```
@@ -56,10 +56,10 @@ class: my-cool-content-on-the-right
5656
---
5757
layout: image-right
5858

59-
# the image source
59+
# 图片来源
6060
image: /path/to/the/image
6161

62-
# a custom class name to the content
62+
# 内容的自定义 class 名称
6363
class: my-cool-content-on-the-left
6464
---
6565
```
@@ -74,7 +74,7 @@ class: my-cool-content-on-the-left
7474
---
7575
layout: image
7676

77-
# the image source
77+
# 图片来源
7878
image: /path/to/the/image
7979
---
8080
```
@@ -107,10 +107,10 @@ backgroundSize: 20em 70%
107107
---
108108
layout: iframe-left
109109

110-
# the web page source
110+
# 网页来源
111111
url: https://github.com/slidevjs/slidev
112112

113-
# a custom class name to the content
113+
# 内容的自定义 class 名称
114114
class: my-cool-content-on-the-right
115115
---
116116
```
@@ -125,10 +125,10 @@ class: my-cool-content-on-the-right
125125
---
126126
layout: iframe-right
127127

128-
# the web page source
128+
# 网页来源
129129
url: https://github.com/slidevjs/slidev
130130

131-
# a custom class name to the content
131+
# 内容的自定义 class 名称
132132
class: my-cool-content-on-the-left
133133
---
134134
```
@@ -143,7 +143,7 @@ class: my-cool-content-on-the-left
143143
---
144144
layout: iframe
145145

146-
# the web page source
146+
# 网页来源
147147
url: https://github.com/slidevjs/slidev
148148
---
149149
```
@@ -179,15 +179,15 @@ url: https://github.com/slidevjs/slidev
179179
layout: two-cols
180180
---
181181

182-
# Left
182+
#
183183

184-
This shows on the left
184+
这会在左边显示
185185

186186
::right::
187187

188-
# Right
188+
#
189189

190-
This shows on the right
190+
这会在右边显示
191191
```
192192

193193
## `two-cols-header`
@@ -201,17 +201,17 @@ This shows on the right
201201
layout: two-cols-header
202202
---
203203

204-
This spans both
204+
这会横跨两侧
205205

206206
::left::
207207

208-
# Left
208+
#
209209

210-
This shows on the left
210+
这会在左边显示
211211

212212
::right::
213213

214-
# Right
214+
#
215215

216-
This shows on the right
216+
这会在右边显示
217217
```

guide/faq.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Slidev 基于 Web,CSS 是定位元素的主要方式。以下是一些有用
5151

5252
::: code-group
5353

54-
```md [Two columns]
54+
```md [双栏]
5555
<div class="grid grid-cols-2 gap-4">
5656
<div>
5757
第一列
@@ -62,7 +62,7 @@ Slidev 基于 Web,CSS 是定位元素的主要方式。以下是一些有用
6262
</div>
6363
```
6464

65-
```md [Complex case]
65+
```md [复杂布局]
6666
<div class="grid grid-cols-[200px_1fr_10%] gap-4">
6767
<div>
6868
第一列 (200px)
@@ -82,7 +82,7 @@ Slidev 基于 Web,CSS 是定位元素的主要方式。以下是一些有用
8282

8383
::: code-group
8484

85-
```md [Horizontal]
85+
```md [水平]
8686
<div class="flex items-center">
8787
<div>
8888
第一块
@@ -93,7 +93,7 @@ Slidev 基于 Web,CSS 是定位元素的主要方式。以下是一些有用
9393
</div>
9494
```
9595

96-
```md [Vertical]
96+
```md [竖直]
9797
<div class="flex flex-col items-center">
9898
<div>
9999
居中的内容

0 commit comments

Comments
 (0)