作者:Yihui Xie
译者:郑宝童
日期:2021.05.28


Customization

As we mentioned in the very beginning of this book, you are expected to have some basic knowledge about R Markdown, and we have been focusing on introducing the bookdown features instead of rmarkdown. In fact, R Markdown is highly customizable, and there are many options that you can use to customize the output document. Depending on how much you want to customize the output, you may use some simple options in the YAML metadata, or just replace the entire Pandoc template.

正如我们在本书的开头提到的,你应该有一些关于R Markdown的基本知识,我们一直专注于介绍bookdown特性而不是rmarkdown。实际上,R Markdown是高度可自定义的,您可以使用许多选项来自定义输出文档。这取决于您想自定义输出的程度,您可以在YAML元数据中使用一些简单的选项,或者直接替换整个Pandoc模板。