Skip to content

Commit

Permalink
Merge pull request #24 from NanamiMio/patch-1
Browse files Browse the repository at this point in the history
更新关于对照文档的描述
  • Loading branch information
wtklbm committed Apr 27, 2023
2 parents 8936248 + 264e7a6 commit 9f24d05
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@

在 `dist` 目录下一共提供了两个文件,它们都是构建好的中文文档。其中一个文件的后缀是带有 `contrast` 字样。这两个文件有一些区别:

不带有 `contrast` 字样的文档是纯中文文档,英文内容都被直接替换为中文了。并且,在任何 IDE 下都可以得到相同的效果
不带有 `contrast` 字样的文档是纯中文文档,英文内容都被直接替换为中文了

![2021-12-17_20.10.20](./assets/2021-12-17_20.10.20.png)

而带有 `contrast` 字样的文档是对照文档,是在英文语句的后面追加了中文翻译语句,实现了英中文并列显示。在不同的 IDE 中有不同的效果。

在 `vscode` 中,英中文会被合并为一行(没有解决方案):

![2021-12-17_20.19.25](./assets/2021-12-17_20.19.25.png)

而在 `JetBrains` 系列 IDE 中,中英文会并列显示
而带有 `contrast` 字样的文档是对照文档,是在英文语句的后面追加了中文翻译语句,实现了中英文并列显示

![2021-12-17_19.31.02](./assets/2021-12-17_19.31.02.png)

Expand Down

0 comments on commit 9f24d05

Please sign in to comment.