ekalinin/typogr.js — pull request #1 by tlvince (2012-11-20 11:36:13+00:00)
Title: Invert en/em dashes

In [typogr.smartDashes][1], you use "--" to represent an em-dash and "---" as an en-dash. This is the inverse of what I was expecting.

Was this an explicit decision?

For reference, [TeX][2] and [Pandoc][3] both use the inverse. The [Pandoc mailing list][4] also has many compelling arguments to support this.

[1]: https://github.com/ekalinin/typogr.js/blob/184415472bb08a27bc6fdfd391d6646444873c46/typogr.js#L339-L342
[2]: https://en.wikipedia.org/wiki/Dash#Common_dashes
[3]: http://johnmacfarlane.net/pandoc/README.html#smart-punctuation
[4]: https://groups.google.com/forum/?fromgroups=#!topic/pandoc-discuss/a548fdFUHB0