4 ms·
in 180 characters: https://twitter.com/swyx/status/1344127570753646593 https://twitter.com/swyx/status/1344127570753646593 A guide to the 3 dashes in English:
by swyx 4y ago
in 180 characters: https://twitter.com/swyx/status/1344127570753646593 https://twitter.com/swyx/status/1344127570753646593
A guide to the 3 dashes in English:
Hyphens (-) are compound-words.
En dashes (⌥ -) connect beginning–ending.
Em dashes (⌥⇧-) can replace parentheses and colons — use them more!
- perihelions 4y agoOr in Linux, En dash (–): Compose - - . Em dash (—): Compose - - - https://tstarling.com/stuff/ComposeKeys.html https://tstarling.com/stuff/ComposeKeys.html https://www.x.org/releases/current/doc/libX11/i18n/compose/en_US.UTF-8.html https://www.x.org/releases/current/doc/libX11/i18n/compose/e...
- teddyh 4y agoAlso on Windows: http://wincompose.info/ http://wincompose.info/
- politelemon 4y agoOf the three major OSes, Linux has the most intuitive way of producing special characters with its compose keys
- otherme123 4y agoTo my surprise, no spaces around mdash is the general recommendation.
- brycewray 4y agoTrue; depends on the style guide, but most opt in that direction. The Chicago Manual of Style is very firmly in favor of it.
- FabHK 4y agoIt's more a matter of continent than style (ie, the former can explain most of the variance).
- greenicon 4y agoThe alternative is usually en-dash with spaces.
- gk1 4y agoMoving through text using Cmd + Left/Right arrow will jump over two words if there’s an em dash between them with no spaces. As a frequent em dash user that was very annoying, so I switched to adding spaces — to hell with the APA.
- thrdbndndn 4y ago> ⌥⇧- What is this
- FabHK 4y agomacOS shortcuts. Option-Shift-minus