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


Chapter 2 Components

This chapter demonstrates the syntax of common components of a book written in bookdown, including code chunks, figures, tables, citations, math theorems, and equations. The approach is based on Pandoc, so we start with the syntax of Pandoc’s flavor of Markdown.

本章演示了一本用bookdown书写的书的常见组件的语法,包括代码块、图表、表格、引用、数学定理和方程(code chunks, figures, tables, citations, math theorems, and equations)。这些方法是基于Pandoc的,所以我们从Pandoc的Markdown风格的语法开始学习。