I know making .Rmd produce .html file or .md file should use the following codes
---
title: "report"
output: html_document
---
or
---
title: "report"
output: md_document
---
But how to produce the two at the same time? I try the following, but it is not working
---
title: "report"
output: html_document, md_document
---
Another issue is that, how can I make the name of the .html file (or .md file) produced different from the .Rmd file? For example, I have sample.Rmd, but I want the .md file to be named as sample_1.md.