Last active
December 4, 2021 03:59
-
-
Save gederajeg/fb1f35f88d20c05b25cea302e71016d9 to your computer and use it in GitHub Desktop.
Define font family and font size for html output of R Notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Put the following CSS either in a .css file or directly in the R Notebook writing area. | |
<style type="text/css"> | |
body{ | |
font-family: Georgia; | |
font-size: 14pt; | |
} | |
</style> | |
### inspiration and source | |
https://newbedev.com/r-markdown-changing-font-size-and-font-type-in-html-output | |
### URL for the list of font family in CSS | |
https://www.w3schools.com/cssref/css_websafe_fonts.asp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment