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?
The question is answered here. Three ways to do this:
use the argument keep_md = TRUE
in html_document()
call rmarkdown::render()
with clean = FALSE
Use md_document
as one of your output formats
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With