mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
style-guide: recommend hyphen over en dash and em dash (#15407)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
ebbb779535
commit
4b6600a3ab
1 changed files with 14 additions and 1 deletions
|
@ -468,7 +468,20 @@ When documenting optional placeholders like paths or file extensions, it is sugg
|
|||
|
||||
## Language-Specific Rules
|
||||
|
||||
The below section contains additional language-specific rules for translating pages:
|
||||
The below section contains additional language-specific rules:
|
||||
|
||||
### English-Specific Rules
|
||||
|
||||
A normal hyphen (`-`) should be used in places where various style guides may recommend en dash (`–`) or em dash (`—`).
|
||||
|
||||
- For example, use `for lengths 3-12` rather than `for lengths 3–12`
|
||||
|
||||
The reason for this is four-fold:
|
||||
|
||||
1. There is no widely accepted standard among various style guides on when each of these dashes should be used.
|
||||
2. Hyphen (`-`) is the only dash-like character in ASCII, which reduces the likelihood of compatibility issues.
|
||||
3. Hyphen (`-`) is by far the easiest to type.
|
||||
4. Many English speakers, especially non-native ones, are not aware of the difference.
|
||||
|
||||
### Chinese-Specific Rules
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue