如果我正在创建.rmd报告,这是我的示例YAML,如何将另一个样式表附加到此报告的输出?
--- title: "Example Report" author: "Cool guy 62" date: "`r format(Sys.time(),'%d %B,%Y')`" output: html_document: theme: null css: 'style.css' ---
解决方法
将多个css文件放入括号内的数组中,如下所示:
--- title: "Example Report" author: "Cool guy 62" date: "`r format(Sys.time(),%Y')`" output: html_document: theme: null css: ['browserreset.css','style.css','C:/Users/coolguy62/webpages/styles/bootstrap-modified.css'] ---