【发布时间】:2019-07-28 06:28:45
【问题描述】:
我想在使用 html_notebook 作为我的输出格式时使用一些 bookdown 扩展。例如。这行得通:
---
output: bookdown::html_document2
---
```{theorem}
My proof here.
\```
knitr::knit("test.rmd", "test.html")
但事实并非如此:
---
output: html_notebook
---
```{theorem}
My proof here.
\```
knitr::knit("test.rmd", "test.html")
有没有办法在 rmarkdown 笔记本中使用这些扩展?
【问题讨论】:
标签: r r-markdown knitr bookdown