nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.81k stars 1.39k forks source link

Convert two dashes to em dash #1617

Open jackiehluo opened 8 years ago

jackiehluo commented 8 years ago

Because I care too much about punctuation... Would be really cool to have two adjacent dashes (--) convert to an em dash (—) in the composer. I don't know if other mail clients do it, but it's standard behavior in Slack, Medium, Microsoft Word, etc.

DavidChouinard commented 8 years ago

On OS X, this is mostly handled at the OS layer with text substitution rules — implementation would need to mindful of interactions with system-wide rules (OS or e.g. TextExpander).