Hacker News new | ask | show | jobs
by idoh 2164 days ago
So pedantic but I love it. For the GP, what you are looking for is them em dash (—) with no spaces around it, because the dash is its own form of punctuation.
2 comments

A double-dash is a perfectly valid substitute for an em dash given that most (no?) keyboards have it on a key. Seems like a waste of time to always have to look up an escape code or copy/paste from somewhere when the intent of "--" is clear.
I don't hold random comments on the internet to the highest standard because I am not a monster. However they are not equivalent and the em dash is a sign of extra polish.
It’s option-shift-hyphen on a Mac. And you can get at em dashes on an iOS keyboard by long pressing the hyphen. Not so difficult.
Compose--- on anything with a compose key. Linux mostly and Windows with the WinCompose program.
Some style guides allow for surrounding the em dash with spaces. It's a matter of preference.