Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)
by mmooss on Thursday March 27, 2025 @07:16PM
(#43499350)
Why not a double hyphen, which has the same result?
[ Parent
| on HN ]
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)
by lxgr on Thursday March 27, 2025 @08:43PM
(#43500031)
Not in all fonts. In most monospace fonts, two hyphens will show with a small gap between them, for example.
I also personally prefer en dashes, surrounded by whitespace on both sides, over em dashes. Apparently some WYSIWYG software interprets two hyphens as an em dash, while other will interpret that as an en dash, so I'd rather just use the real thing if possible to avoid the ambiguity.