• Stars
    star
    13,136
  • Rank 2,386 (Top 0.05 %)
  • Language
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Chinese copywriting guidelines for better written communication/中文文案排版指北

中文文案排版指北

Crowdin Built with Almace Scaffolding

統一中文文案、排版的相關用法,降低團隊成員之間的溝通成本,增強網站氣質。

Other languages:


空格

「有研究顯示,打字的時候不喜歡在中文和英文之間加空格的人,感情路都走得很辛苦,有七成的比例會在 34 歲的時候跟自己不愛的人結婚,而其餘三成的人最後只能把遺產留給自己的貓。畢竟愛情跟書寫都需要適時地留白。

與大家共勉之。」——vinta/paranoid-auto-spacing

中英文之間需要增加空格

正確:

在 LeanCloud 上,數據儲存是圍繞 AVObject 進行的。

錯誤:

在LeanCloud上,數據儲存是圍繞AVObject進行的。

在 LeanCloud上,數據儲存是圍繞AVObject 進行的。

完整的正確用法:

在 LeanCloud 上,數據儲存是圍繞 AVObject 進行的。每個 AVObject 都包含了與 JSON 兼容的 key-value 對應的數據。數據是 schema-free 的,你不需要在每個 AVObject 上提前指定存在哪些键,只要直接設定對應的 key-value 即可。

例外:「豆瓣FM」等產品名詞,按照官方所定義的格式書寫。

中文與數字之間需要增加空格

正確:

今天出去買菜花了 5000 元。

錯誤:

今天出去買菜花了 5000元。

今天出去買菜花了5000元。

數字與單位之間需要增加空格

正確:

我家的光纖入屋寬頻有 10 Gbps,SSD 一共有 20 TB。

錯誤:

我家的光纖入屋寬頻有 10Gbps,SSD 一共有 20TB。

例外:度數/百分比與數字之間不需要增加空格:

正確:

角度為 90° 的角,就是直角。

新 MacBook Pro 有 15% 的 CPU 性能提升。

錯誤:

角度為 90 ° 的角,就是直角。

新 MacBook Pro 有 15 % 的 CPU 性能提升。

全形標點與其他字符之間不加空格

正確:

剛剛買了一部 iPhone,好開心!

錯誤:

剛剛買了一部 iPhone ,好開心!

剛剛買了一部 iPhone, 好開心!

text-spacing to the rescue?

CSS Text Module Level 4 的 text-spacing 和 Microsoft 的 -ms-text-autospace 可以實現自動為中英文之間增加空白。不過目前並未普及,另外在其他應用場景,例如 macOS、iOS、Windows 等用戶介面目前並不存在這個特性,所以請繼續保持隨手加空格的習慣。

標點符號

不重複使用標點符號

雖然中國大陸的標點符號用法允許重複使用標點符號,但是這麼做會破壞句子的美觀性。

正確:

德國隊竟然戰勝了巴西隊!

她竟然對你說「喵」?!

錯誤:

德國隊竟然戰勝了巴西隊!!

德國隊竟然戰勝了巴西隊!!!!!!!!

她竟然對你說「喵」??!!

她竟然對你說「喵」?!?!??!!

全形和半形

不明白什麼是全形(全角)與半形(半角)符號?請查看維基百科條目『全形和半形』。

使用全形中文標點

正確:

嗨!你知道嘛?今天前台的小妹跟我說「喵」了哎!

核磁共振成像(NMRI)是什麼原理都不知道?JFGI!

錯誤:

嗨! 你知道嘛? 今天前台的小妹跟我說 "喵" 了哎!

嗨!你知道嘛?今天前台的小妹跟我說"喵"了哎!

核磁共振成像 (NMRI) 是什麼原理都不知道? JFGI!

核磁共振成像(NMRI)是什麼原理都不知道?JFGI!

例外:中文句子內夾有英文書籍名、報刊名時,不應借用中文書名號,應以英文斜體表示。

數字使用半形字符

正確:

這件蛋糕只賣 1000 元。

錯誤:

這件蛋糕只賣 1000 元。

例外:在設計稿、宣傳海報中如出現極少量數字的情形時,為方便文字對齊,是可以使用全形數字的。

遇到完整的英文整句、特殊名詞,其內容使用半形標點

正確:

賈伯斯那句話是怎麼說的?「Stay hungry, stay foolish.」

推薦你閱讀 Hackers & Painters: Big Ideas from the Computer Age,非常地有趣。

錯誤:

賈伯斯那句話是怎麼說的?「Stay hungry,stay foolish。」

推薦你閱讀《Hackers&Painters:Big Ideas from the Computer Age》,非常的有趣。

名詞

專有名詞使用正確的大小寫

大小寫相關用法原屬於英文書寫範疇,不屬於本 wiki 討論內容,在這裡只對部分易錯用法進行簡述。

正確:

使用 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; 對表現形式進行定義。

不要使用不道地的縮寫

正確:

我們需要一位熟悉 TypeScript、HTML5,至少理解一種框架(如 React、Next.js)的前端開發者。

錯誤:

我們需要一位熟悉 Ts、h5,至少理解一種框架(如 RJS、nextjs)的 FED。

爭議

以下用法略帶有個人色彩,即:無論是否遵循下述規則,從語法的角度來講都是正確的。

超連結之間增加空格

用法:

提交一個 issue 並分配给相關同事。

訪問我們網站的最新動態,請 點擊這裡 進行訂閱!

對比用法:

提交一個 issue 並分配给相關同事。

訪問我們網站的最新動態,請點擊這裡進行訂閱!

簡體中文使用直角引號

用法:

「老师,『有条不紊』的『紊』是什么意思?」

對比用法:

“老师,‘有条不紊’的‘紊’是什么意思?”

工具

倉庫 系列 語言
pangu.js pangu JavaScript
pangu-go pangu Go
pangu.java pangu Java
pangu.py pangu Python
pangu.rb pangu Ruby
pangu.php pangu PHP
pangu.vim pangu Vim
vue-pangu pangu Vue.js (Web Converter)
intellij-pangu pangu Intellij Platform Plugin
autocorrect autocorrect Rust, WASM, CLI tool
autocorrect-node autocorrect Node.js
autocorrect-py autocorrect Python
autocorrect-rb autocorrect Ruby
autocorrect-java autocorrect Java
autocorrect-go autocorrect Go
autocorrect-php autocorrect PHP
autocorrect-vscode autocorrect VS Code Extension
autocorrect-idea-plugin autocorrect Intellij Platform Plugin
jxlwqq/chinese-typesetting other PHP
sparanoid/space-lover other PHP (WordPress)
sparanoid/grunt-auto-spacing other Node.js (Grunt)
hjiang/scripts/add-space-between-latin-and-cjk other Python
hustcc/hint other Python
n0vad3v/Tekorrect other Python

誰在這樣做?

網站 文案 UGC
Apple 中國 Yes N/A
Apple 香港 Yes N/A
Apple 台灣 Yes N/A
Microsoft 中國 Yes N/A
Microsoft 香港 Yes N/A
Microsoft 台灣 Yes N/A
LeanCloud Yes N/A
V2EX Yes Yes
Apple4us Yes N/A
Ruby China Yes Yes
少數派 Yes N/A

參考文獻

Forks

衍生專案的用法可能與本專案存在差異。

More Repositories

1

7z

7-Zip Official Chinese Simplified Repository (Homepage and 7z Extra package)
HTML
990
star
2

automator-workflows

A collection of Automator workflows (services) that speed up your design / development process. Compatible with LaunchBar 6 actions
Shell
480
star
3

almace-scaffolding

AMSF, a.k.a. Almace Scaffolding, a super-fast Jekyll framework fighting against the website obesity.
SCSS
320
star
4

lightense-images

A dependency-free pure JavaScript image zooming library less than 2 KB (gzipped). Inspired by tholman/intense-images
JavaScript
305
star
5

live-dl

Monitor and download live streams from YouTube
Shell
238
star
6

path-menu

Path 2.0 Flyout Menu using CSS (Less), contrib to Path (iOS app) by Tunghsiao Liu
CoffeeScript
81
star
7

itunes-artwork-grabber

Yet another iTunes artwork grabber for cover / icon lovers
JavaScript
57
star
8

cube.less

3D (animated) cube using only CSS (Less), originally used by LeanCloud (aka. AVOS Cloud)
CSS
54
star
9

opentype-features

The Complete CSS Demo for OpenType Features
CSS
37
star
10

userscript

My Userscripts
JavaScript
32
star
11

a-soul

Full-featured social media monitor that extracts data from a variety of services and pushes updates to Telegram or other platforms
JavaScript
30
star
12

proxy-cookbook

GFW is watching you
28
star
13

kladenets

Future-proof native CSS variables in :root
HTML
25
star
14

space-lover

Git-ified. Synced via git-svn. Magically add an extra space between Chinese characters and English letters / numbers / common punctuation marks
PHP
23
star
15

kai-12

The missing child theme of Twenty Twelve, A better interface based on Twenty Twelve, no need to change the default theme, no database option strings will be created. Install and go.
SCSS
23
star
16

slimpack

Lightweight Jetpack. Super-fast performance without modules that require contracting WordPress.com.
PHP
17
star
17

ansible-shadowsocks-libev

Ansible role for shadowsocks-libev
Shell
15
star
18

env.sh

Dead-simple .env file reader and generator
Shell
15
star
19

randomized

Erratic colors for machines and people, powered by machine learning and artificial intelligence, just kidding.
HTML
15
star
20

ansible-shadowsocks

Ansible role for Shadowsocks. create 100 Shadowsocks instances in 20 mins
Shell
13
star
21

start

Start Page for your browser
CoffeeScript
12
star
22

grunt-assets-inline

A grunt task which takes a html file, finds all the css, js links and images, and outputs a version with all the css, js and images (Base64) written inline.
HTML
12
star
23

DefaultKeyBinding.dict

Default keybindings fix for Mac OS X
10
star
24

omnibox-ncr

Force google.com (aka Google No Country Redirect) when searching in Google Chrome Omnibox
JavaScript
9
star
25

docker-compose-smokeping

SmokePing Docker Compose with Common Cloud Server Providers
8
star
26

awesome-awesome-awesome-awesome-awesome-awesome-awesome

List of awesome-awesome-awesome-awesome-awesome-awesome lists.
7
star
27

relative-url

A plugin applies wp_make_link_relative function to links (posts, categories, pages and etc.) to convert them to relative URLs. Useful for developers when debugging local WordPress instance on a mobile device (iPad. iPhone, etc.). This repo is git-flow synced.
PHP
7
star
28

grunt-uncss-inline

UnCSS your inline stylesheet to the next level. A fork of addyosmani/grunt-uncss doing the exact same thing, but does focus on processing the inline CSS only.
HTML
4
star
29

ansible-serverspeeder

[DEPRECATED] Ansible role for ServerSpeeder
3
star
30

rsshub-json

RSSHub JSON Mode
JavaScript
3
star
31

grunt-service-worker

Grunt sw-precache wrapper
JavaScript
3
star
32

ansible-pptp

Ansible role for PPTP VPN
3
star
33

vup.json

Extract bilibili vup info from vtbs.moe with user avatars
Python
3
star
34

docker-prince

Prince XML Docker image with ARM64/Apple silicon support based on official `aarch64-musl` binary
Dockerfile
3
star
35

weibo-like

Git-ified. Synced via SVN. Sina Weibo Like Button, adds Sina Weibo Like button on your site. A must-have plugin if your site visitors are mainly from China. 使用微博「赞」按钮,将生成的代码放置到你的博客、网站或其它支持HTML的位置,让你的用户轻松表达态度。当用户在您的站点上某个网页点击了赞按钮后,同时会同步一条包含网页内容的动态信息到微博显示。
PHP
3
star
36

ansible-php-fpm

Ansible role for php-fpm
Shell
2
star
37

core.less

A starter kit for Bootstrap for quick front-end development. Packages are managed by Bower.
CSS
2
star
38

make-your-website-accessible-in-china

How to make your website accessible in China? That's the question.
2
star
39

quotmarks-replacer

Quotmarks Replacer is a plugin disables wptexturize function that keeps all quotation marks and suspension points in half-width form. This repo is git-flow synced.
PHP
2
star
40

.github

1
star
41

awesome-cms

Awesome CMS
1
star
42

usercss

My UserCSS
CSS
1
star
43

replace_regex

A Liquid filter to perform regex replace
Ruby
1
star
44

ansible-fail2ban

Ansible role for fail2ban
Shell
1
star
45

match_regex

A Liquid filter to perform regex match
Ruby
1
star
46

ansible-nginx

Ansible role for nginx
1
star
47

grunt-sri-hash

A grunt task which hashes all inlined scripts and stylesheets with integrity attributes.
HTML
1
star
48

logos

Logos of Chinese startups and companies
1
star
49

voxgrowl

Yet another Growl theme, works for Vox
CSS
1
star
50

jsdom-doctype

JavaScript
1
star
51

abandobe

Disable agents/daemons and kill all running processes from Adobe for macOS
Shell
1
star
52

docker-derp

Tailscale DERP server in container
HCL
1
star
53

awesome-smime

Awesome (Survived) S/MIME CAs
1
star
54

java-zapper-osx

A Java SE uninstall script, zap all Java SE 6 files with only one command. OS X only
Shell
1
star
55

ansible-common

Ansible role for common setup (basic provision)
Shell
1
star
56

grunt-doctype

Minimal effort DOCTYPE transformation
JavaScript
1
star
57

ansible-resilio-sync

Install resilio-sync via Ansible
1
star
58

docker-ruby-node

Jekyll in Docker with Node.js + Grunt.js
Dockerfile
1
star
59

A-Basic-HTML5-Template-For-Any-Project

A tribute to https://www.sitepoint.com/a-basic-html5-template/
HTML
1
star
60

kai-11

The missing child theme of Twenty Eleven, A better interface based on Twenty Eleven, No need to change the default theme, no database option strings will be created. Install and go.
PHP
1
star
61

kai-10

The missing child theme of Twenty Ten, A better interface based on Twenty Ten, No need to change the default theme, no database option strings will be created. Install and go.
PHP
1
star
62

speedtest-list-server

SpeedTest.net Server List Algolia Pusher
JavaScript
1
star
63

index.html

Minimal one-page, one-HTTP-request, HTML5-valid template
1
star