在R中修改Flexdashboard CSS [英] Modify Flexdashboard CSS in R

查看:48
本文介绍了在R中修改Flexdashboard CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将 flexdashboard 包与Rmarkdown一起使用,并希望修改标题的尺寸,边框的位置,颜色等,从而产生由Rstudio创建的网页.Flex仪表板和Rmarkdown关联了许多CSS文件.有人可以告诉我为此修改哪些CSS文件,以及这些文件在R或Rstudio目录中的位置吗?

I am using the flexdashboard Package with Rmarkdown and would like to modify the dimensions of headers, location of borders, colors, etc. that result in the webpage created by Rstudio. There are many CSS files associated with flex dashboard and Rmarkdown. Can someone please inform me what CSS files should be modified for this purpose, and where these files are located in the R or Rstudio directories?

推荐答案

您始终可以通过添加自己的CSS文件来修改默认值,说明

You can always modify the defaults by adding your own CSS file, instructions here. This way you don't have to modify the default specifications (in case you ever want to use them).

如果要检查每个主题的默认规范,可以在flexdashboard

If you want to check the default specifications for each theme, you can find them in the flexdashboard github repo.

这篇关于在R中修改Flexdashboard CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆