Unify the usage of Chinese copy and typesetting, reduce the communication cost between team members, and enhance the temperament of the website

directory

One level

  • The secondary directory

The blank space

“Research has shown that people who don’t blank when typing have a hard time in their relationships, with 70 per cent marrying someone they don’t love at 34 and the remaining 30 per cent leaving their inheritance to their cat. After all, blank Spaces are needed for both love and writing.

Let’s encourage them together.” – the vinta/paranoid – auto – spacing

Spaces need to be added between Chinese and English

Correct:

On LeanCloud, the data storage is around AVObject.

Error:

On LeanCloud, the data storage is around AVObject.

On LeanCloud, the data storage is around AVObject.

Complete correct usage:

On LeanCloud, the data storage is around AVObject. Each AVObject contains data corresponding to a JSON-compatible key-value. The data is schema-free, so you don’t need to specify which keys exist on each AVObject in advance, you can just set the corresponding key-value directly.

Exceptions: “Douban FM” and other proper nouns, according to the official definition of the format.

Add Spaces between Chinese characters and numbers

Correct:

I spent 5000 yuan to buy cauliflower today.

Error:

I spent 5000 yuan to buy cauliflower today.

I spent 5000 yuan to buy cauliflower today.

Add Spaces between numbers and units

Correct:

The fiber-optic broadband in my home is 10 Gbps and the SSD is a total of 20 TB

Error:

The fiber optic broadband in my home is 10Gbps, and the SSD is a total of 20TB

Exception: No Spaces need to be added between degrees/percentages and numbers:

Correct:

It’s 233 degrees today.

The new MacBook Pro has a 15% CPU performance boost.

Error:

It’s 233 degrees today.

The new MacBook Pro has a 15% CPU performance boost.

There is no space between full-angle punctuation and other characters

Correct:

Just bought an iPhone, so happy!

Error:

Just bought an iPhone, so happy!

Just bought an iPhone, so happy!

withtext-spacingTo save?

The CSS Text Module Level 4 text-spacing and Microsoft’s -ms-text-autospace automatically add white space between Chinese and English. However, this feature is not yet popular. In addition, this feature does not exist in other application scenarios, such as macOS, iOS, and Windows user interfaces, so please keep the habit of adding Spaces at will.

punctuation

Don’t reuse punctuation marks

Correct:

Germany beat Brazil!

She said “meow” to you? !

Error:

Germany beat Brazil!!

Germany actually beat Brazil !!!!!!!!

She said “meow” to you?? !!!!!

She said “meow” to you? ! ? ! ?? !!!!!

Full and half

Don’t understand what is the full Angle (full) and half Angle (half) sign? See the Wikipedia entry “Full and hemiform.”

Use full-angle Chinese punctuation

Correct:

A: hi! You know what? Today, the receptionist said “meow” to me.

Don’t know how NMRI works? JFGI!

Error:

A: hi! You know what? The receptionist said “meow” to me today!

A: hi! You know what? The receptionist said “meow” to me today!

Don’t know how NMRI works? JFGI!

Don’t know how NMRI works? JFGI!

Numbers use half-corner characters

Correct:

This cake is only 1000 yuan.

Error:

This cake is only 1000 yuan.

Exception: in the design draft, propaganda poster, such as a very small number of cases, in order to facilitate text alignment, it is possible to use full numbers.

When you encounter a complete English sentence or special noun, use half corner punctuation

Correct:

What did Jobs say about that? “Stay hungry, Stay foolish.”

I recommend reading Hackers & Painters: Big Ideas from the Computer Age, which is very interesting.

Error:

What did Jobs say about that? “Stay hungry, Stay foolish.”

I recommend reading Hackers&Painters: Big Ideas from the Computer Age. It’s very interesting.

noun

Use proper nouns in the correct case

Case related usage is not part of this wiki, but it is part of the English language.

Correct:

Log in using GitHub

Our clients include GitHub, Foursquare, Microsoft Corporation, Google, Facebook, Inc.

Error:

Log in using Github

Log in using GITHUB

Log in using Github

Log in using gitHub

Our clients include Github, Foursquare, Microsoft Corporation, Google, Facebook, Inc.

Our clients include GITHUB, FOURSQUARE, MICROSOFT CORPORATION, GOOGLE, FACEBOOK, INC.

Our clients include Github, FourSquare, MicroSoft Corporation, Google, FaceBook, Inc.

Our clients include gitHub, fourSquare, microSoft Corporation, Google, faceBook, Inc.

Note: When all upper/lower case is used to fit the overall visual style, use the standard case in HTML. Text-transform: upperCase; / text – transform: lowercase; Define the presentation.

Don’t use bad abbreviations

Correct:

We need a front-end developer who is familiar with JavaScript, CSS3, and understands at least one framework (backbone. js, AngularJS, React, etc.).

Error:

We need a FED who is familiar with Js, Css3, and understands at least one framework (backbone, Angular, RJS, etc.).

controversy

The following usage is slightly personal: it is grammatically correct whether or not the following rules are followed.

Add Spaces between links

Usage:

Please submit an issue and assign it to the relevant colleague.

Visit our website for the latest news, please click here to subscribe!

Comparative usage:

Please submit an issue and assign it to the relevant colleague.

Visit our website for the latest news, please click here to subscribe!

Use rectangular quotation marks in simplified Chinese

Usage:

“Teacher, what does” Turbulence “mean?”

Comparative usage:

“Teacher, ‘orderly’ of ‘turbulent’ is what meaning?

Bold, italic, and highlighted text with Spaces before and after

Usage:

This test text is bold.

This test text is italic.

This test text is highlighted.

Comparative usage:

This test text is bold.

This test text is italic.

This test text is highlighted.

The list of the indentation

  1. It is recommended to use four Spaces to indent text, especially when you are dealing with ordered or unordered lists.
  2. In addition, when using an unordered or ordered list, it is recommended that there be a blank line between the parent and the parent, and no blank line between the parent and the parent.
Level 1 - Level 2 - Level 1 - Level 2 - Level 2 - Level 1 - Level 2 - Level 3 - Level 2 - Level 3Copy the code

use/Add Spaces before and after

Usage:

There are 15 design concepts to follow when designing the login/registration interface

Except when acting as a path descriptor