R Markdown - changing font size and font type in html output

后端 未结 6 1759
感情败类
感情败类 2020-12-12 16:12

I am using R Markdown in RStudio and the knit HTML option to create HTML output. However, the font used in the ouput for plain text blocks is rather small and I would like t

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 17:04

    These answers are overly complicated. You can change the main body font size (as well as any other CSS you might want to change) simply by embedding CSS directly into the Rmarkdown document using the html ```{r setup, include = FALSE} knitr::opts_chunk$set(echo = TRUE) ```

提交回复
热议问题