zlacker

[parent] [thread] 2 comments
1. d1sxey+(OP)[view] [source] 2025-08-30 13:57:33
Generally spaces around em-dashes is a question of style, not pre- or pro-scribed by any specific typographical rule. One nice middle ground is a hair space ( ), although it’s a pain to insert.
replies(2): >>165944+LX >>andrew+QX
2. 165944+LX[view] [source] 2025-08-30 22:11:48
>>d1sxey+(OP)
> spaces around em-dashes is a question of style, not pre- or pro-scribed by any specific typographical rule

Writing and publishing style guides like Hart's Rules (Oxford Style Guide) & Chicago manual of style have the 'em' dash use as a parenthetical closed or "no spaces" dash.

In British use – Hart's Rules – writers will choose the 'en' dash with spaces as a parenthetical dash, where US writers/publishers choose the closed 'em' dash for the same thing.

Imo, there is a conflation of 'en' dash and 'em' dash going around due to the ease of smart-dashes auto-correction turning (--) into 'em' dash with the 'en' dash and non-auto-correct 'em' dash needing a key-combo.

Common everyday typing online, I think people will simply use what is convenient and "good enough" -- a single hyphen dash as an 'en' dash or 2-hyphen dashes that may or may not auto correct into an 'em' dash. I prefer mixing spaces with a 2-hyphen dash 'em' dash, but I'm not a published writer so I enjoy doing wild things like that

3. andrew+QX[view] [source] 2025-08-30 22:12:33
>>d1sxey+(OP)
I configured my Markdown renderer to replace ` -- ` with " — ". Hopefully those narrow spaces make it through HN's rendering — it's much easier when your tooling can do the job for you.

https://github.com/andrewaylett/aylett.co.uk/blob/d338d35a3d...

[go to top]