after upgrading to v0.98.932, when knitting .Rmd files it produces .md, then .html, but then deletes .md. and I need to keep it to upload to GitHub. Where would the options be to keep the .md files when knitting hmtl from .Rmd?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The question is answered here. Three ways to do this:
use the argument
keep_md = TRUE
inhtml_document()
call
rmarkdown::render()
withclean = FALSE
Use
md_document
as one of your output formats
回答2:
Or you can just indicate in the settings "Keep markdown source file".
This can be done by clicking on the Settings icon that is positioned next to "Knitr HTML". Then you go to Advanced - by default "Keep markdown source file" is unchecked. Just place a checkmark and you are all done!