About Space
This article describes some tips for Markdown spaces.
The text
正确
and错误
understood as推荐
the不推荐
.
table of Contents
1. circumstances require additional space
1.1 English punctuation (eg,;:?) Is required between the back of the characters 加空格
, the characters between the front and 不需要
spaces.
正确:More wasy to shop: Visit an Apple Store, call 1-800-MY-APPLE, or find a reseller
错误:More wasy to shop:Visit an Apple Store,call 1-800-MY-APPLE,or find a reseller
1.2 when used in Chinese, English> (half-width) identifying paths, 两边
required spaces.
正确:Erase data and settings in Setting > General > Reset > Erase all Content and Settings
错误:Erase data and settings in Setting> General>Reset >Erase all Content and Settings
Right: erase all the contents and settings Procedure Settings> General> Reset> Erase all content and settings
Error: Procedure Erase all content and settings Settings> General> Reset> Erase all content and settings
2. absence of added space
2.1 Chinese punctuation and numbers, do not need to add a space between Chinese and English.
-
Correct: 5 years old, in 2015
-
Error: 5 years old, in 2015
You do not need to add a space between numbers and 2.2 percent signs.
-
Right: GTP rose 6.5 percent to upgrade highlights highlights
-
Error: GTP rose 6.5 percent to upgrade highlights highlights
Without adding a space between 2.3 and unit numbers
-
Right: for the first time to provide 2TB capacity solid-state hard drive configuration
-
Error: provide the first 2 TB capacity solid-state hard drive configuration
When 2.4 / (half size) [or] indicates, when the path [], and not between the preceding character spaces.
- Right: /Volumes/warehouse/README.md
- Correct: I am proficient [Python / Java / Go / PHP] print of Hello Word grammar
No space after the currency symbol 2.5
- Right: From $ 799
- Error: From $ 799