-
-
Notifications
You must be signed in to change notification settings - Fork 280
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 ligature font as default coding font? #83
Comments
Since it is trivially easy for users to customize fonts, I don't want to make this the default. With the current dev version, you can save the CSS above to output:
xaringan::moon_reader:
css: ["default", "fira-code.css"] |
Okay, I was curious if you would like to switch the default. Thanks for your quick reply! |
I actually use Fira Code myself in RStudio IDE. I don't have a strong opinion on whether everyone should use it or see it, so I'll leave the decision to users. |
Maybe it could be included as a secondary option in the default.css so that users just need to switch the font order instead of trying to find the webfont import statement etc.? Otherwise it will probably get lost in this issue I think. From my experience most guys enjoy ligatures in the font, especially in presentations. |
Sounds like a good idea. I'll reconsider it. |
On second thought, I decided only to document it: https://slides.yihui.name/xaringan/#33 since it is simple enough for users to provide this CSS file, which I don't want to maintain by myself. |
Fair enough, that should help most users. Thanks! |
@pat-s sorry for bringing this up again, but how do you then activate ligatures for Fira Code in css? |
See here. |
For example
Fira-Code
orIosevka
:I have them installed locally but to get it working for everyone, could it just be imported within the CSS?
What are your thoughts on this?
The text was updated successfully, but these errors were encountered: