Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为example.Rmdpost/ 文件夹下的文件,其中包含降价文本和一些代码块。我运行命令
example.Rmd
build_site(run_hugo = FALSE)
在 RStudio 控制台中告诉blogdown只需将.Rmd文件编译为.md. 但是,我得到example.html了example.md
blogdown
.Rmd
.md
example.html
example.md
谁能告诉我如何.md从.html生成.Rmd?
.html
请阅读blogdown书的第 1.5 节。简短的回答是使用文件扩展名而不是..Rmarkdown.Rmd
.Rmarkdown