• 为什么Addins/New Post下方会有RmdRmarkdown两个扩展名选择?
  • 为什么Rmd文档生成的是html?而不生成md文档呢?(因为我一直都是只用Rmd扩展名,有短的为什么要用长的呢?我连探索这个都没有勇气吗?-_-!)html又在同目录下生成图片文件夹,这在一定程度上不是很美观, 我相信对于爱靓的@Yihui不可能容忍这种事情发生的!


In this book, we usually mean .Rmd files when we say “R Markdown documents,” which are compiled to .html by default. However, there is another type of R Markdown document with the filename extension .Rmarkdown. Such R Markdown documents are compiled to Markdown documents with the extension .markdown, which will be processed by Hugo instead of Pandoc. There are two major limitations of using .Rmarkdown compared to .Rmd:

  • You cannot use Markdown features only supported by Pandoc, such as citations. Math expressions only work if you have installed the xaringan package (Xie 2018d) and applied the JavaScript solution mentioned in Section B.3.

  • HTML widgets are not supported.