Add Rust, Go version. Add VS Code extension link.

This commit is contained in:
Jason Lee
2021-09-27 23:35:10 +08:00
parent ea01f1bc27
commit f93c629496
4 changed files with 97 additions and 85 deletions

View File

@@ -34,7 +34,7 @@ Good:
Bad:
> 在LeanCloud上數據存儲是圍繞`AVObject`進行的。
>
>
> 在 LeanCloud上數據存儲是圍繞`AVObject` 進行的。
An example of complete and correct usage:
@@ -52,7 +52,7 @@ Good:
Bad:
> 今天出去買菜花了 5000元。
>
>
> 今天出去買菜花了5000元。
### Place one space between numbers and units
@@ -70,13 +70,13 @@ Exceptions: There should not be any spacing between numbers and degrees/percenta
Good:
> 今天是 233° 的高溫。
>
>
> 新 MacBook Pro 有 15% 的 CPU 性能提升。
Bad:
> 今天是 233 ° 的高溫。
>
>
> 新 MacBook Pro 有 15 % 的 CPU 性能提升。
### No additional spaces before/after punctuation in fullwidth form
@@ -88,7 +88,7 @@ Good:
Bad:
> 剛剛買了一部 iPhone ,好開心!
>
>
> 剛剛買了一部 iPhone 好開心!
### `text-spacing` to the rescue?
@@ -102,17 +102,17 @@ Bad:
Good:
> 德國隊竟然戰勝了巴西隊!
>
>
> 她竟然對你說「喵」?!
Bad:
> 德國隊竟然戰勝了巴西隊!!
>
>
> 德國隊竟然戰勝了巴西隊!!!!!!!!
>
>
> 她竟然對你說「喵」??!!
>
>
> 她竟然對你說「喵」?!?!??!!
## Fullwidth and halfwidth
@@ -124,17 +124,17 @@ If youre not familiar with fullwidth and halfwidth forms please refer to [Hal
Good:
> 嗨!你知道嘛?今天前台的小妹跟我說「喵」了哎!
>
>
> 核磁共振成像NMRI是什麼原理都不知道JFGI
Bad:
> 嗨! 你知道嘛? 今天前台的小妹跟我說 "喵" 了哎!
>
>
> 嗨!你知道嘛?今天前台的小妹跟我說"喵"了哎!
>
>
> 核磁共振成像 (NMRI) 是什麼原理都不知道? JFGI!
>
>
> 核磁共振成像(NMRI)是什麼原理都不知道?JFGI!
### Use numbers in halfwidth form
@@ -154,13 +154,13 @@ Exceptions: fullwidth numbers are acceptable for better visual alignment in grap
Good:
> 賈伯斯那句話是怎麼說的「Stay hungry, stay foolish.」
>
>
> 推薦你閱讀《Hackers & Painters: Big Ideas from the Computer Age》非常的有趣。
Bad:
> 賈伯斯那句話是怎麼說的「Stay hungrystay foolish。」
>
>
> 推薦你閱讀《HackersPaintersBig Ideas from the Computer Age》非常的有趣。
## Nouns
@@ -172,29 +172,29 @@ Bad:
Good:
> 使用 GitHub 登錄
>
>
> 我們的客戶有 GitHub、Foursquare、Microsoft Corporation、Google、Facebook, Inc.。
Bad:
> 使用 github 登錄
>
>
> 使用 GITHUB 登錄
>
>
> 使用 Github 登錄
>
>
> 使用 gitHub 登錄
>
>
> 使用 gイんĤЦ8 登錄
>
>
> 我們的客戶有 github、foursquare、microsoft corporation、google、facebook, inc.。
>
>
> 我們的客戶有 GITHUB、FOURSQUARE、MICROSOFT CORPORATION、GOOGLE、FACEBOOK, INC.。
>
>
> 我們的客戶有 Github、FourSquare、MicroSoft Corporation、Google、FaceBook, Inc.。
>
>
> 我們的客戶有 gitHub、fourSquare、microSoft Corporation、google、faceBook, Inc.。
>
>
> 我們的客戶有 gイんĤЦ8、キouЯƧquムгє、๓เςг๏ร๏Ŧt ς๏гק๏гคtเ๏ภn、900913、ƒ4ᄃëв๏๏к, IПᄃ.。
注意當網頁中需要配合整體視覺風格而出現全部大寫小寫的情形HTML 中請使用標準的大小寫規範進行書寫;並通過 `text-transform: uppercase;``text-transform: lowercase;` 對表現形式進行定義。
@@ -218,13 +218,13 @@ The following usages comprise of personal characteristics. As such, from the per
Usage:
> 請 [提交一个 issue](#) 並分配给相關同事。
>
>
> 訪問我們網站的最新動態,請 [點擊這裡](#) 進行訂閱!
compared with:
> 請[提交一个 issue](#) 並分配给相關同事。
>
>
> 訪問我們網站的最新動態,請[點擊這裡](#)進行訂閱!
### Use corner brackets for Chinese Simplified
@@ -244,6 +244,8 @@ compared with:
| [vinta/paranoid-auto-spacing](https://github.com/vinta/paranoid-auto-spacing) | JavaScript |
| [huei90/pangu.node](https://github.com/huei90/pangu.node) | Node.js |
| [huacnlee/auto-correct](https://github.com/huacnlee/auto-correct) | Ruby |
| [huacnlee/autocorrect](https://github.com/huacnlee/autocorrect) | Rust, WASM, CLI |
| [huacnlee/go-auto-correct](https://github.com/huacnlee/go-auto-correct) | Go |
| [sparanoid/space-lover](https://github.com/sparanoid/space-lover) | PHP (WordPress) |
| [nauxliu/auto-correct](https://github.com/NauxLiu/auto-correct) | PHP |
| [jxlwqq/chinese-typesetting](https://github.com/jxlwqq/chinese-typesetting) | PHP |
@@ -252,6 +254,7 @@ compared with:
| [hjiang/scripts/add-space-between-latin-and-cjk](https://github.com/hjiang/scripts/blob/master/add-space-between-latin-and-cjk) | Python |
| [hustcc/hint](https://github.com/hustcc/hint) | Python |
| [studygolang/autocorrect](https://github.com/studygolang/autocorrect) | Go |
| [VS Code - huacnlee.auto-correct](https://marketplace.visualstudio.com/items?itemName=huacnlee.auto-correct) | VS Code Extension |
## Examples of “Who is doing this?”
@@ -266,7 +269,7 @@ compared with:
| [LeanCloud](https://leancloud.cn/) | Yes | N/A |
| [V2EX](https://www.v2ex.com/) | Yes | Yes |
| [Apple4us](https://apple4us.com/) | Yes | N/A |
| [Ruby China](https://ruby-china.org/) | Yes | Titles only |
| [Ruby China](https://ruby-china.org/) | Yes | Yes |
| [PHPHub](https://phphub.org/) | Yes | Titles only |
| [少數派](https://sspai.com/) | Yes | N/A |

View File

@@ -247,6 +247,8 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
[vinta/paranoid-auto-spacing](https://github.com/vinta/paranoid-auto-spacing) | JavaScript
[huei90/pangu.node](https://github.com/huei90/pangu.node) | Node.js
[huacnlee/auto-correct](https://github.com/huacnlee/auto-correct) | Ruby
[huacnlee/autocorrect](https://github.com/huacnlee/autocorrect) | Rust, WASM, CLI
[huacnlee/go-auto-correct](https://github.com/huacnlee/go-auto-correct) | Go
[sparanoid/space-lover](https://github.com/sparanoid/space-lover) | PHP (WordPress)
[nauxliu/auto-correct](https://github.com/NauxLiu/auto-correct) | PHP
[jxlwqq/chinese-typesetting](https://github.com/jxlwqq/chinese-typesetting) | PHP
@@ -255,6 +257,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
[hjiang/scripts/add-space-between-latin-and-cjk](https://github.com/hjiang/scripts/blob/master/add-space-between-latin-and-cjk) | Python
[hustcc/hint](https://github.com/hustcc/hint) | Python
[studygolang/autocorrect](https://github.com/studygolang/autocorrect) | Go
[VS Code - huacnlee.auto-correct](https://marketplace.visualstudio.com/items?itemName=huacnlee.auto-correct) | VS Code Extension
## 誰在這樣做?
@@ -269,7 +272,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
[LeanCloud](https://leancloud.cn/) | Yes | N/A
[V2EX](https://www.v2ex.com/) | Yes | Yes
[Apple4us](https://apple4us.com/) | Yes | N/A
[Ruby China](https://ruby-china.org/) | Yes | 標題達成
[Ruby China](https://ruby-china.org/) | Yes | Yes
[PHPHub](https://phphub.org/) | Yes | 標題達成
[少數派](https://sspai.com/) | Yes | N/A

View File

@@ -34,7 +34,7 @@
错误:
> 在LeanCloud上数据存储是围绕`AVObject`进行的。
>
>
> 在 LeanCloud上数据存储是围绕`AVObject` 进行的。
完整的正确用法:
@@ -52,7 +52,7 @@
错误:
> 今天出去买菜花了 5000元。
>
>
> 今天出去买菜花了5000元。
### 数字与单位之间需要增加空格
@@ -70,13 +70,13 @@
正确:
> 今天是 233° 的高温。
>
>
> 新 MacBook Pro 有 15% 的 CPU 性能提升。
错误:
> 今天是 233 ° 的高温。
>
>
> 新 MacBook Pro 有 15 % 的 CPU 性能提升。
### 全角标点与其他字符之间不加空格
@@ -88,7 +88,7 @@
错误:
> 刚刚买了一部 iPhone ,好开心!
>
>
> 刚刚买了一部 iPhone 好开心!
### 用 `text-spacing` 来挽救?
@@ -102,17 +102,17 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正确:
> 德国队竟然战胜了巴西队!
>
>
> 她竟然对你说「喵」?!
错误:
> 德国队竟然战胜了巴西队!!
>
>
> 德国队竟然战胜了巴西队!!!!!!!!
>
>
> 她竟然对你说「喵」??!!
>
>
> 她竟然对你说「喵」?!?!??!!
## 全角和半角
@@ -124,17 +124,17 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正确:
> 嗨!你知道嘛?今天前台的小妹跟我说「喵」了哎!
>
>
> 核磁共振成像NMRI是什么原理都不知道JFGI
错误:
> 嗨! 你知道嘛? 今天前台的小妹跟我说 "喵" 了哎!
>
>
> 嗨!你知道嘛?今天前台的小妹跟我说"喵"了哎!
>
>
> 核磁共振成像 (NMRI) 是什么原理都不知道? JFGI!
>
>
> 核磁共振成像(NMRI)是什么原理都不知道?JFGI!
### 数字使用半角字符
@@ -154,13 +154,13 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正确:
> 贾伯斯那句话是怎么说的「Stay hungry, stay foolish.」
>
>
> 推荐你阅读《Hackers & Painters: Big Ideas from the Computer Age》非常的有趣。
错误:
> 贾伯斯那句话是怎么说的「Stay hungrystay foolish。」
>
>
> 推荐你阅读《HackersPaintersBig Ideas from the Computer Age》非常的有趣。
## 名词
@@ -172,29 +172,29 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正确:
> 使用 GitHub 登录
>
>
> 我们的客户有 GitHub、Foursquare、Microsoft Corporation、Google、Facebook, Inc.。
错误:
> 使用 github 登录
>
>
> 使用 GITHUB 登录
>
>
> 使用 Github 登录
>
>
> 使用 gitHub 登录
>
>
> 使用 gイんĤЦ8 登录
>
>
> 我们的客户有 github、foursquare、microsoft corporation、google、facebook, inc.。
>
>
> 我们的客户有 GITHUB、FOURSQUARE、MICROSOFT CORPORATION、GOOGLE、FACEBOOK, INC.。
>
>
> 我们的客户有 Github、FourSquare、MicroSoft Corporation、Google、FaceBook, Inc.。
>
>
> 我们的客户有 gitHub、fourSquare、microSoft Corporation、google、faceBook, Inc.。
>
>
> 我们的客户有 gイんĤЦ8、キouЯƧquムгє、๓เςг๏ร๏Ŧt ς๏гק๏гคtเ๏ภn、900913、ƒ4ᄃëв๏๏к, IПᄃ.。
注意当网页中需要配合整体视觉风格而出现全部大写小写的情形HTML 中请使用标淮的大小写规范进行书写;并通过 `text-transform: uppercase;``text-transform: lowercase;` 对表现形式进行定义。
@@ -218,13 +218,13 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
用法:
> 请 [提交一个 issue](#) 并分配给相关同事。
>
>
> 访问我们网站的最新动态,请 [点击这里](#) 进行订阅!
对比用法:
> 请[提交一个 issue](#)并分配给相关同事。
>
>
> 访问我们网站的最新动态,请[点击这里](#)进行订阅!
### 简体中文使用直角引号
@@ -244,6 +244,8 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [vinta/paranoid-auto-spacing](https://github.com/vinta/paranoid-auto-spacing) | JavaScript |
| [huei90/pangu.node](https://github.com/huei90/pangu.node) | Node.js |
| [huacnlee/auto-correct](https://github.com/huacnlee/auto-correct) | Ruby |
| [huacnlee/autocorrect](https://github.com/huacnlee/autocorrect) | Rust, WASM, CLI |
| [huacnlee/go-auto-correct](https://github.com/huacnlee/go-auto-correct) | Go |
| [sparanoid/space-lover](https://github.com/sparanoid/space-lover) | PHP (WordPress) |
| [nauxliu/auto-correct](https://github.com/NauxLiu/auto-correct) | PHP |
| [jxlwqq/chinese-typesetting](https://github.com/jxlwqq/chinese-typesetting) | PHP |
@@ -252,6 +254,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [hjiang/scripts/add-space-between-latin-and-cjk](https://github.com/hjiang/scripts/blob/master/add-space-between-latin-and-cjk) | Python |
| [hustcc/hint](https://github.com/hustcc/hint) | Python |
| [studygolang/autocorrect](https://github.com/studygolang/autocorrect) | Go |
| [VS Code - huacnlee.auto-correct](https://marketplace.visualstudio.com/items?itemName=huacnlee.auto-correct) | VS Code Extension |
## 谁在这样做?
@@ -266,7 +269,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [LeanCloud](https://leancloud.cn/) | 是 | N/A |
| [V2EX](https://www.v2ex.com/) | 是 | 是 |
| [Apple4us](https://apple4us.com/) | 是 | N/A |
| [Ruby China](https://ruby-china.org/) | 是 | 标题达成 |
| [Ruby China](https://ruby-china.org/) | 是 | |
| [PHPHub](https://phphub.org/) | 是 | 标题达成 |
| [少数派](https://sspai.com/) | 是 | N/A |

View File

@@ -34,7 +34,7 @@ Other languages:
錯誤:
> 在LeanCloud上數據存儲是圍繞`AVObject`進行的。
>
>
> 在 LeanCloud上數據存儲是圍繞`AVObject` 進行的。
完整的正確用法:
@@ -52,7 +52,7 @@ Other languages:
錯誤:
> 今天出去買菜花了 5000元。
>
>
> 今天出去買菜花了5000元。
### 數字與單位之間需要增加空格
@@ -70,13 +70,13 @@ Other languages:
正確:
> 今天是 233° 的高溫。
>
>
> 新 MacBook Pro 有 15% 的 CPU 性能提升。
錯誤:
> 今天是 233 ° 的高溫。
>
>
> 新 MacBook Pro 有 15 % 的 CPU 性能提升。
### 全形標點與其他字符之間不加空格
@@ -88,7 +88,7 @@ Other languages:
錯誤:
> 剛剛買了一部 iPhone ,好開心!
>
>
> 剛剛買了一部 iPhone 好開心!
### `text-spacing` to the rescue?
@@ -102,17 +102,17 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正確:
> 德國隊竟然戰勝了巴西隊!
>
>
> 她竟然對你說「喵」?!
錯誤:
> 德國隊竟然戰勝了巴西隊!!
>
>
> 德國隊竟然戰勝了巴西隊!!!!!!!!
>
>
> 她竟然對你說「喵」??!!
>
>
> 她竟然對你說「喵」?!?!??!!
## 全形和半形
@@ -124,17 +124,17 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正確:
> 嗨!你知道嘛?今天前台的小妹跟我說「喵」了哎!
>
>
> 核磁共振成像NMRI是什麼原理都不知道JFGI
錯誤:
> 嗨! 你知道嘛? 今天前台的小妹跟我說 "喵" 了哎!
>
>
> 嗨!你知道嘛?今天前台的小妹跟我說"喵"了哎!
>
>
> 核磁共振成像 (NMRI) 是什麼原理都不知道? JFGI!
>
>
> 核磁共振成像(NMRI)是什麼原理都不知道?JFGI!
### 數字使用半形字符
@@ -154,13 +154,13 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正確:
> 賈伯斯那句話是怎麼說的「Stay hungry, stay foolish.」
>
>
> 推薦你閱讀《Hackers & Painters: Big Ideas from the Computer Age》非常的有趣。
錯誤:
> 賈伯斯那句話是怎麼說的「Stay hungrystay foolish。」
>
>
> 推薦你閱讀《HackersPaintersBig Ideas from the Computer Age》非常的有趣。
## 名詞
@@ -172,29 +172,29 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
正確:
> 使用 GitHub 登錄
>
>
> 我們的客戶有 GitHub、Foursquare、Microsoft Corporation、Google、Facebook, Inc.。
錯誤:
> 使用 github 登錄
>
>
> 使用 GITHUB 登錄
>
>
> 使用 Github 登錄
>
>
> 使用 gitHub 登錄
>
>
> 使用 gイんĤЦ8 登錄
>
>
> 我們的客戶有 github、foursquare、microsoft corporation、google、facebook, inc.。
>
>
> 我們的客戶有 GITHUB、FOURSQUARE、MICROSOFT CORPORATION、GOOGLE、FACEBOOK, INC.。
>
>
> 我們的客戶有 Github、FourSquare、MicroSoft Corporation、Google、FaceBook, Inc.。
>
>
> 我們的客戶有 gitHub、fourSquare、microSoft Corporation、google、faceBook, Inc.。
>
>
> 我們的客戶有 gイんĤЦ8、キouЯƧquムгє、๓เςг๏ร๏Ŧt ς๏гק๏гคtเ๏ภn、900913、ƒ4ᄃëв๏๏к, IПᄃ.。
注意當網頁中需要配合整體視覺風格而出現全部大寫小寫的情形HTML 中請使用標準的大小寫規範進行書寫;並通過 `text-transform: uppercase;``text-transform: lowercase;` 對表現形式進行定義。
@@ -218,13 +218,13 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
用法:
> 請 [提交一个 issue](#) 並分配给相關同事。
>
>
> 訪問我們網站的最新動態,請 [點擊這裡](#) 進行訂閱!
對比用法:
> 請[提交一个 issue](#) 並分配给相關同事。
>
>
> 訪問我們網站的最新動態,請[點擊這裡](#)進行訂閱!
### 簡體中文使用直角引號
@@ -244,6 +244,8 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [vinta/paranoid-auto-spacing](https://github.com/vinta/paranoid-auto-spacing) | JavaScript |
| [huei90/pangu.node](https://github.com/huei90/pangu.node) | Node.js |
| [huacnlee/auto-correct](https://github.com/huacnlee/auto-correct) | Ruby |
| [huacnlee/autocorrect](https://github.com/huacnlee/autocorrect) | Rust, WASM, CLI |
| [huacnlee/go-auto-correct](https://github.com/huacnlee/go-auto-correct) | Go |
| [sparanoid/space-lover](https://github.com/sparanoid/space-lover) | PHP (WordPress) |
| [nauxliu/auto-correct](https://github.com/NauxLiu/auto-correct) | PHP |
| [jxlwqq/chinese-typesetting](https://github.com/jxlwqq/chinese-typesetting) | PHP |
@@ -252,6 +254,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [hjiang/scripts/add-space-between-latin-and-cjk](https://github.com/hjiang/scripts/blob/master/add-space-between-latin-and-cjk) | Python |
| [hustcc/hint](https://github.com/hustcc/hint) | Python |
| [studygolang/autocorrect](https://github.com/studygolang/autocorrect) | Go |
| [VS Code - huacnlee.auto-correct](https://marketplace.visualstudio.com/items?itemName=huacnlee.auto-correct) | VS Code Extension |
## 誰在這樣做?
@@ -266,7 +269,7 @@ CSS Text Module Level 4 的 [`text-spacing`](https://www.w3.org/TR/css-text-4/#t
| [LeanCloud](https://leancloud.cn/) | Yes | N/A |
| [V2EX](https://www.v2ex.com/) | Yes | Yes |
| [Apple4us](https://apple4us.com/) | Yes | N/A |
| [Ruby China](https://ruby-china.org/) | Yes | 標題達成 |
| [Ruby China](https://ruby-china.org/) | Yes | Yes |
| [PHPHub](https://phphub.org/) | Yes | 標題達成 |
| [少數派](https://sspai.com/) | Yes | N/A |