Comment by ben_w
> 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.
> 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-keyboa...
[2]: https://www.merriam-webster.com/grammar/em-dash-en-dash-how-...