yihui / servr

A simple HTTP server in R
https://cran.rstudio.com/package=servr
278 stars 35 forks source link

Could we set the files being rendered with rmdv2 ? #48

Open statquant opened 4 years ago

statquant commented 4 years ago

Right now rmdv2 build only Rmd files. I think it would be great we could render .R instead (I use .R files that I render because I like the way I can run source on the file). It might just be adding a pattern argument to rmdv2 that would default to ".Rmd". Would you accept a PR for this ?

yihui commented 4 years ago

Yes, please. Thank you!