Skip to content

Commit

Permalink
feat(docs): simplify TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
mzlogin committed Oct 26, 2015
1 parent e30b0ab commit 81c4a06
Showing 1 changed file with 22 additions and 43 deletions.
65 changes: 22 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,34 @@ Other languages: [繁體中文](https://github.com/sparanoid/chinese-copywriting

## 目次

- [空格](#spacing)
- [中英文之间需要增加空格](#spacing-c1)
- [中文与数字之间需要增加空格](#spacing-c2)
- [数字与单位之间需要增加空格](#spacing-c3)
- [全角标点与其他字符之间不加空格](#spacing-c4)
- [`-ms-text-autospace` to the rescue?](#spacing-c5)
- [标点符号](#punctuation-marks)
- [不重复使用标点符号](#punctuation-marks-c1)
- [全角和半角](#fullwidth-halfwidth)
- [使用全角中文标点](#fullwidth-halfwidth-c1)
- [数字使用半角字符](#fullwidth-halfwidth-c2)
- [遇到完整的英文整句、特殊名词,其內容使用半角标点](#fullwidth-halfwidth-c3)
- [名词](#glossaries)
- [专有名词使用正确的大小写](#glossaries-c1)
- [不要使用不地道的缩写](#glossaries-c2)
- [争议](#dispute)
- [中文链接之间增加空格](#dispute-c1)
- [简体中文使用直角引号](#dispute-c2)
- [工具](#tools)
- [谁在这样做?](#who-is-using)
- [参考文献](#references)

<a name="spacing"></a>
- [空格](#空格)
- [中英文之间需要增加空格](#中英文之间需要增加空格)
- [中文与数字之间需要增加空格](#中文与数字之间需要增加空格)
- [数字与单位之间需要增加空格](#数字与单位之间需要增加空格)
- [全角标点与其他字符之间不加空格](#全角标点与其他字符之间不加空格)
- [`-ms-text-autospace` to the rescue?](#-ms-text-autospace-to-the-rescue)
- [标点符号](#标点符号)
- [不重复使用标点符号](#不重复使用标点符号)
- [全角和半角](#全角和半角)
- [使用全角中文标点](#使用全角中文标点)
- [数字使用半角字符](#数字使用半角字符)
- [遇到完整的英文整句、特殊名词,其內容使用半角标点](#遇到完整的英文整句特殊名词其內容使用半角标点)
- [名词](#名词)
- [专有名词使用正确的大小写](#专有名词使用正确的大小写)
- [不要使用不地道的缩写](#不要使用不地道的缩写)
- [争议](#争议)
- [中文链接之间增加空格](#中文链接之间增加空格)
- [简体中文使用直角引号](#简体中文使用直角引号)
- [工具](#工具)
- [谁在这样做?](#谁在这样做)
- [参考文献](#参考文献)

## 空格

「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。

与大家共勉之。」——[vinta/paranoid-auto-spacing](https://github.com/vinta/paranoid-auto-spacing)

<a name="spacing-c1"></a>
### 中英文之间需要增加空格

正确:
Expand All @@ -57,7 +55,6 @@ Other languages: [繁體中文](https://github.com/sparanoid/chinese-copywriting
:exclamation: 例外:「豆瓣FM」等产品名词,按照官方所定义的格式书写。

<a name="spacing-c2"></a>
### 中文与数字之间需要增加空格

正确:
Expand All @@ -70,7 +67,6 @@ Other languages: [繁體中文](https://github.com/sparanoid/chinese-copywriting
> 今天出去买菜花了5000元。
<a name="spacing-c3"></a>
### 数字与单位之间需要增加空格

正确:
Expand All @@ -95,7 +91,6 @@ Other languages: [繁體中文](https://github.com/sparanoid/chinese-copywriting
> 新 MacBook Pro 有 15 % 的 CPU 性能提升。
<a name="spacing-c4"></a>
### 全角标点与其他字符之间不加空格

正确:
Expand All @@ -106,15 +101,12 @@ Other languages: [繁體中文](https://github.com/sparanoid/chinese-copywriting

> 刚刚买了一部 iPhone ,好开心!
<a name="spacing-c5"></a>
### `-ms-text-autospace` to the rescue?

Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/ie/ms531164(v=vs.85).aspx) 的 CSS 属性可以实现自动为中英文之间增加空白。不过目前并未普及,另外在其他应用场景,例如 OS X、iOS 的用户界面目前并不存在这个特性,所以请继续保持随手加空格的习惯。

<a name="punctuation-marks"></a>
## 标点符号

<a name="punctuation-marks-c1"></a>
### 不重复使用标点符号

正确:
Expand All @@ -135,12 +127,10 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
> 她竟然对你说「喵」?!?!??!!
<a name="fullwidth-halfwidth"></a>
## 全角和半角

:exclamation: 不明白什么是全角(全形)与半角(半形)符号?请查看维基百科词条『[全角和半角](http://zh.wikipedia.org/wiki/%E5%85%A8%E5%BD%A2%E5%92%8C%E5%8D%8A%E5%BD%A2)』。

<a name="fullwidth-halfwidth-c1"></a>
### 使用全角中文标点

正确:
Expand All @@ -159,7 +149,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
> 核磁共振成像(NMRI)是什么原理都不知道?JFGI!
<a name="fullwidth-halfwidth-c2"></a>
### 数字使用半角字符

正确:
Expand All @@ -172,7 +161,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
:exclamation: 例外:在设计稿、宣传海报中如出现极少量数字的情形时,为方便文字对齐,是可以使用全角数字的。

<a name="fullwidth-halfwidth-c3"></a>
### 遇到完整的英文整句、特殊名词,其內容使用半角标点

正确:
Expand All @@ -187,10 +175,8 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
> 推荐你阅读『Hackers&Painters:Big Ideas from the Computer Age』,非常的有趣。
<a name="glossaries"></a>
## 名词

<a name="glossaries-c1"></a>
### 专有名词使用正确的大小写

大小写相关用法原属于英文书写范畴,不属于本 wiki 讨论內容,在这里只对部分易错用法进行简述。
Expand Down Expand Up @@ -225,7 +211,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
注意:当网页中需要配合整体视觉风格而出现全部大写/小写的情形,HTML 中请使用标准的大小写规范进行书写;并通过 `text-transform: uppercase;``text-transform: lowercase;` 对表现形式进行定义。

<a name="glossaries-c2"></a>
### 不要使用不地道的缩写

正确:
Expand All @@ -236,12 +221,10 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/

> 我们需要一位熟悉 Js、h5,至少理解一种框架(如 backbone、angular、RJS 等)的 FED。
<a name="dispute"></a>
## 争议

:exclamation: 以下用法略带有个人色彩,既:无论是否遵循下述规则,从语法的角度来讲都是**正确**的。

<a name="dispute-c1"></a>
### 中文链接之间增加空格

用法:
Expand All @@ -256,7 +239,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
> 访问我们网站的最新动态,请[点击这里](#)进行订阅!
<a name="dispute-c2"></a>
### 简体中文使用直角引号

用法:
Expand All @@ -267,7 +249,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/

> “老师,‘有条不紊’的‘紊’是什么意思?”
<a name="tools"></a>
## 工具

仓库 | 语言
Expand All @@ -280,7 +261,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
[hotoo/pangu.vim](https://github.com/hotoo/pangu.vim) | Vim
[sparanoid/grunt-auto-spacing](https://github.com/sparanoid/grunt-auto-spacing) | Node.js (Grunt)

<a name="who-is-using"></a>
## 谁在这样做?

网站 | 文案 | UGC
Expand All @@ -300,7 +280,6 @@ Microsoft 有个 [`-ms-text-autospace`](http://msdn.microsoft.com/en-us/library/
[Ruby China](http://ruby-china.org/) | Yes | 标题达成
[PHPHub](http://phphub.org/) | Yes | 标题达成

<a name="references"></a>
## 参考文献

- [来自 About.com 的大小写用法(英文)](http://grammar.about.com/od/punctuationandmechanics/a/Guidelines-For-Using-Capital-Letters.htm)
Expand Down

0 comments on commit 81c4a06

Please sign in to comment.