I have a file named example.Rmd under post/ folder, which contains markdown text and some code chunks. I run the command
build_site(run_hugo = FALSE)
in RStudio console to tell blogdown to just compile .Rmd files to .md. However, I got example.html instead of example.md
Can anyone tell me how to generate .md instead .html from .Rmd?
Please read Section 1.5 of the blogdown book. The short answer is to use the filename extension
.Rmarkdowninstead of.Rmd.