Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use typographic apostrophe #662

Closed
zemtu opened this issue Oct 14, 2016 · 4 comments

Comments

@zemtu
Copy link

commented Oct 14, 2016

Single quotes for strings – except to avoid escaping

If you’d use the typographic apostrophe you wouldn’t have to make this exemption.

Typewriter apostrophe: 'we'd have to escape'
Typographic apostrophe: 'we don’t have to escape'

Typographic apostrophe:
Mac: Shift + Alt + #
Linux: Alt Gr + #
Windows: Alt + 0146
HTML: ’

See also:
https://en.wikipedia.org/wiki/Apostrophe#Computing
http://practicaltypography.com/apostrophes.html
http://typefacts.com/artikel/apostroph

@zemtu zemtu changed the title Use typographic correct apostrophe Use typographic apostrophe Oct 14, 2016

@mightyiam

This comment has been minimized.

Copy link
Contributor

commented Oct 21, 2016

I'm happy to learn about this unicode character and I know I'm going to use it.

@mightyiam

This comment has been minimized.

Copy link
Contributor

commented Oct 21, 2016

So funny. Above, I didn’t use it. So, here it is, in this comment!

@Flet

This comment has been minimized.

Copy link
Member

commented Oct 24, 2016

This is a neat way to get around escaping apostrophes! 👍 There are some cases where a ' is really intended though :)

Closing this as there is no issue here, just sweet, sweet typography tricks 🏄

Feel free to continue to discuss!

@mightyiam

This comment has been minimized.

Copy link
Contributor

commented Oct 25, 2016

How about #666?

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.