3 ms·
> Where's the emdash key on your keyboard? > There isn't one? Mac, alt-minus. Did by accident once, causing confusion because Xcode uses monospace font where
by ben_w 1y ago
> Where's the emdash key on your keyboard?
> There isn't one?
Mac, alt-minus. Did by accident once, causing confusion because Xcode uses monospace font where -, – and — look identical, and an m-dash where a minus should be gets a compiler error.
iOS, long-press on the "-" key.
- alwillis 1y ago> Mac, alt-minus. I've been using Macs for decades; it's called the Option key; no seasoned Mac user calls it "Alt". I know when a PC-style keyboard is attached to a Mac, the Alt key functions as the Option key. [1] - Option-minus creates an en dash - Option-Shift-minus creates an em dash [1]: https://support.apple.com/guide/mac-help/intro-to-mac-keyboard-shortcuts-mchld6b9e240/mac https://support.apple.com/guide/mac-help/intro-to-mac-keyboa... [2]: https://www.merriam-webster.com/grammar/em-dash-en-dash-how-to-use https://www.merriam-webster.com/grammar/em-dash-en-dash-how-...
- danaris 1y agoOption-minus gives the en-dash; option-shift-minus gives the em-dash.