-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add LaTeX style hyphenation #14
Comments
Added |
Noticed by chance while reading Cramming 'Papers, Please' Onto Phones that the site was using hyphenations: .content p {
hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
} According to caniuse.com |
Noticed by chance while reading [Cramming 'Papers, Please' Onto Phones](https://dukope.com/devlogs/papers-please/mobile/) that the site was using hyphenations: ```css .content p { hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto; } ``` According to [caniuse.com](https://caniuse.com/?search=hyphens) `hyphens` have 97% support with vendor prefixes and 78% unprefixed. For hyphens to work the HTML `lang` attribute must be specified which it already is. Support is lackluster for many languages but since this website is only in English it should work. Worth trying out at least. See: #14
Make blog text justified. I think this should just be a simple CSS property but we will see. Look into if it is possible to have LaTeX style hyphenation. I have seen it before but not sure how it is implemented.
The text was updated successfully, but these errors were encountered: