knitr::opts_chunk$set(echo = TRUE)
::: {custom-style="标题1-编号"}
:::
::: {custom-style="NoIndent"} 无缩进段落。 :::
::: {custom-style="标题2-数字编号"}
:::
::: {custom-style="标题2-中文编号"}
:::
::: {custom-style="标题3-编号"}
:::
首段,由于是中文,需要首行缩进。
正常段落,首行缩进
summary(cars)
表格样例表\@ref(tab:tab-test)
knitr::kable(head(cars), caption = "First few lines of dataset cars", digits = 2)
::: {custom-style="标题2-编号"}
:::
::: {custom-style="标题2-编号-换页"}
:::
插图样例:
plot(pressure) cat("\n\n") plot(head(pressure))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.