Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

em dashes: with our without surrounding spaces #2834

Open
frivoal opened this issue Apr 17, 2024 · 1 comment
Open

em dashes: with our without surrounding spaces #2834

frivoal opened this issue Apr 17, 2024 · 1 comment

Comments

@frivoal
Copy link
Contributor

frivoal commented Apr 17, 2024

https://speced.github.io/bikeshed/#typography tells us:

Ending a line with -- will turn it into an em dash (—) and pull the following line upwards so there’s no space between the surrounding words and the dash.

in w3c/process#851 (comment), @TallTed said:

Ugh. In my world, em dashes should be surrounded by spaces; en dashes and hyphens typically should not.

The W3C Style Guide points to the Chicago Manual of Style, and "CMOS says no spaces, but importantly their typography actually does have spacing around the em-dash, so basically they’re cheating a bit. AP says spaces."

I don't care strongly either way, but I'm pretty sure that if it should be fixed, it should be fixed globally, and not on a ad hoc basis. Hence reporting it here, as well as against the W3C Style guide.

@TallTed
Copy link

TallTed commented May 7, 2024

Visual examples — like this, with the surrounding spaces — are often helpful. You can see here that the surrounding spaces help suggest the separation intended by the em-dash.

I think this—lacking the spaces—looks cramped, at best, and visually decreases the separation intended by the em-dash (as opposed to en-dashes or hyphens, which are meant to connect, as in ranges, like 5–10, or in compound words, like en-dash).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants