Y
Hacker News
new
|
ask
|
show
|
jobs
by
lombasihir
141 days ago
i was always curious how these em dashes were written? like in my keyboard i dont see the symbol, is there any shortcut?
3 comments
megous
141 days ago
Some markdown-like static blog generators just replace -- with emdash.
I used one such in the past, written in PHP by someone who was keen on proper typography.
link
furyofantares
141 days ago
On macOS, option plus hyphen gives an em-dash. Also if you're on macOS you should try some other keyboard keys too with option.
link
frizlab
141 days ago
I believe em-dash are made using shift-option-dash. AFAIK option-dash gives an en-dash.
link
furyofantares
141 days ago
Yeah that's right, thanks.
link
xigoi
140 days ago
On Linux, it’s [Compose]--- (or [Compose]--. for an en dash)
link
I used one such in the past, written in PHP by someone who was keen on proper typography.