Skip to content

Commit b720304

Browse files
authored
docs(cn): fix translation in guide/syntax.md (#49)
1 parent 42577e5 commit b720304

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function add(
104104
//```
105105
~~~
106106

107-
这段代码会先对 `a: Ref<number> | number` and `b: Ref<number> | number` 进行高亮展示,当你点击幻灯片后,会高亮展示 `return computed(() => unref(a) + unref(b))`,最后,会对整个块进行高亮展示。你可以在 [动画指南](/guide/animations) 中了解更多。
107+
这段代码会先对 `a: Ref<number> | number` `b: Ref<number> | number` 进行高亮展示,当你点击幻灯片后,会高亮展示 `return computed(() => unref(a) + unref(b))`,最后,会对整个块进行高亮展示。你可以在 [动画指南](/guide/animations) 中了解更多。
108108

109109
### Monaco 编辑器 {#monaco-editor}
110110

@@ -138,7 +138,7 @@ h1 {
138138

139139
Markdown 中的 `<style>` 标签均为 [scoped](https://vue-loader.vuejs.org/guide/scoped-css.html)。如果想覆盖全局样式,请查阅 [项目结构](/custom/directory-structure#style)
140140

141-
[Windi CSS](https://windicss.org) 提供支持,你可以直接使用嵌套的 css 和 [指令集](https://windicss.org/features/directives.html)。(例如,`@apply`)
141+
[Windi CSS](https://windicss.org) 的支持下,你可以直接使用嵌套的 css 和 [指令集](https://windicss.org/features/directives.html)。(例如,`@apply`)
142142

143143
```md
144144
# Slidev
@@ -156,7 +156,7 @@ blockquote {
156156

157157
## 备注 {#notes}
158158

159-
你也可以为每张幻灯片编写备注。它们将展示在 [演讲者模式](/guide/presenter-mode) 中,为你提供演示时的参考
159+
你也可以为每张幻灯片编写备注。它们将展示在 [演讲者模式](/guide/presenter-mode) 中,供你在演示时参考
160160

161161
在 Markdown 中,每张幻灯片中的最后一个注释块将被视为备注。
162162

0 commit comments

Comments
 (0)