Hacker News new | ask | show | jobs
by flowerthoughts 57 days ago
And here I am, just wishing that someone with the knowledge would make font ligatures that render -- and --- as en and em dashes, so I could use them more.
3 comments

Just enable the compose key, then you can hold this key (typically right alt is used) and type the number of dashes required.

https://en.wikipedia.org/wiki/Compose_key

Nice! Done. Thank you!
One of the minor but very welcome latest updates of Microsoft Windows was the addition of the capability to type Win+- to get an en-dash (–) and Shift+Win+- to get an em dash (—).
Some random comment turned me on to the fact that two dashes does indeed collapse to an em-dash using the iPhone keyboard.